function ResourceObjectNormalizerCacherTest::setUp
Overrides KernelTestBase::setUp
File
-
core/
modules/ jsonapi/ tests/ src/ Kernel/ EventSubscriber/ ResourceObjectNormalizerCacherTest.php, line 55
Class
- ResourceObjectNormalizerCacherTest
- @coversDefaultClass \Drupal\jsonapi\EventSubscriber\ResourceObjectNormalizationCacher[[api-linebreak]] @group jsonapi
Namespace
Drupal\Tests\jsonapi\Kernel\EventSubscriberCode
protected function setUp() {
parent::setUp();
$this->resourceTypeRepository = $this->container
->get('jsonapi.resource_type.repository');
$this->serializer = $this->container
->get('jsonapi.serializer');
$this->cacher = $this->container
->get('jsonapi.normalization_cacher');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.