You are here

CountableResourceTypeRepository.php in JSON:API 8

File

tests/modules/jsonapi_test_collection_count/src/ResourceType/CountableResourceTypeRepository.php
View source
<?php

namespace Drupal\jsonapi_test_collection_count\ResourceType;

use Drupal\jsonapi\ResourceType\ResourceTypeRepository;

/**
 * Provides a repository of JSON API configurable resource types.
 */
class CountableResourceTypeRepository extends ResourceTypeRepository {

  /**
   * {@inheritdoc}
   */
  const RESOURCE_TYPE_CLASS = CountableResourceType::class;

}

Classes

Namesort descending Description
CountableResourceTypeRepository Provides a repository of JSON API configurable resource types.