function ServiceLocatorTestCase::getServiceLocator
5 calls to ServiceLocatorTestCase::getServiceLocator()
- ServiceLocatorTestCase::testGet in vendor/
symfony/ service-contracts/ Test/ ServiceLocatorTestCase.php - ServiceLocatorTestCase::testGetDoesNotMemoize in vendor/
symfony/ service-contracts/ Test/ ServiceLocatorTestCase.php - ServiceLocatorTestCase::testHas in vendor/
symfony/ service-contracts/ Test/ ServiceLocatorTestCase.php - ServiceLocatorTestCase::testThrowsOnCircularReference in vendor/
symfony/ service-contracts/ Test/ ServiceLocatorTestCase.php - ServiceLocatorTestCase::testThrowsOnUndefinedInternalService in vendor/
symfony/ service-contracts/ Test/ ServiceLocatorTestCase.php
File
-
vendor/
symfony/ service-contracts/ Test/ ServiceLocatorTestCase.php, line 22
Class
Namespace
Symfony\Contracts\Service\TestCode
protected function getServiceLocator(array $factories) : ContainerInterface {
return new class ($factories) implements ContainerInterface {
use ServiceLocatorTrait;
};
}