You are here

public function ResourceTypeRepository::clearCachedDefinitions in JSON:API 8

File

src/ResourceType/ResourceTypeRepository.php, line 87

Class

ResourceTypeRepository
Provides a repository of all JSON API resource types.

Namespace

Drupal\jsonapi\ResourceType

Code

public function clearCachedDefinitions() {
  $this->all = [];
}