📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 13:34:45
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
plugins
/
wordpress-seo
/
src
/
schema-aggregator
/
domain
✏️
Editing: indexable-count.php
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. namespace Yoast\WP\SEO\Schema_Aggregator\Domain; /** * Class to contain the count of indexables for a specific post type. */ class Indexable_Count { /** * The count of indexables. * * @var int */ private $count; /** * The post type. * * @var string */ private $post_type; /** * Constructor for Indexable_Count. * * @param string $post_type The post type. * @param int $count The count of indexables. */ public function __construct( string $post_type, int $count ) { $this->post_type = $post_type; $this->count = $count; } /** * Gets the count of indexables. * * @return int The count of indexables. */ public function get_count(): int { return $this->count; } /** * Gets the post type. * * @return string The post type. */ public function get_post_type(): string { return $this->post_type; } }
💾 Save Changes
❌ Cancel