<commit_before><?php
namespace MetroPublisher\Api\Collections;

use MetroPublisher\Api\AbstractResourceCollection;
use MetroPublisher\Api\Models\TagCategory;

/**
 * Class TagCategoryCollection
 * @package MetroPublisher\Api\Collections
 */
class TagCategoryCollection extends AbstractResourceCollection
{
    /**
     * @inheritdoc
     */
    public function all($page = 1, array $options = []) {
        return parent::all("/tags/categories", $page, $options);
    }

    /**
     * @inheritdoc
     */
    public function find($uuid) {
        return parent::find("/tags/categories/{$uuid}");
    }

    /**
     * @inheritdoc
     */
    protected function getModelClass()
    {
        return TagCategory::class;
    }
}<commit_msg>Updated collection to meet interface specs<commit_after><?php
namespace MetroPublisher\Api\Collections;

use MetroPublisher\Api\AbstractResourceCollection;
use MetroPublisher\Api\Models\TagCategory;
use MetroPublisher\Api\ResourceCollectionInterface;
use MetroPublisher\Api\ResourceModelInterface;

/**
 * Class TagCategoryCollection
 * @package MetroPublisher\Api\Collections
 */
class TagCategoryCollection extends AbstractResourceCollection implements ResourceCollectionInterface
{
    /**
     * @inheritdoc
     */
    public function findAll($page = 1, array $options = [])
    {
        return parent::all("/tags/categories", $page, $options);
    }

    /**
     * @inheritdoc
     */
    public function find($uuid) {
        return parent::find("/tags/categories/{$uuid}");
    }

    /**
     * @inheritdoc
     */
    protected function getModelClass()
    {
        return TagCategory::class;
    }
}
{'fraction_non_alphanumeric': 0.12113870381586916, 'fraction_numerical': 0.0012113870381586917, 'mean_word_length': 3.2577319587628866, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2003249', 'n_tokens_mistral': 458, 'n_tokens_neox': 431, 'n_words': 87}