*/ private array $indexable_counts; /** * Constructor. */ public function __construct() { $this->indexable_counts = []; } /** * Adds an Indexable_Count object to the collection. * * @param Indexable_Count $indexable_count The Indexable_Count object to add. * @return void */ public function add_indexable_count( Indexable_Count $indexable_count ): void { $this->indexable_counts[] = $indexable_count; } /** * Gets all indexable counts. * * @return array The array of Indexable_Count objects. */ public function get_indexable_counts(): array { return $this->indexable_counts; } }