protected function ProjectServiceContainer::getThrowsExceptionOnServiceConfigurationService in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Tests/ContainerTest.php \Symfony\Component\DependencyInjection\Tests\ProjectServiceContainer::getThrowsExceptionOnServiceConfigurationService()
File
- vendor/
symfony/ dependency-injection/ Tests/ ContainerTest.php, line 707
Class
Namespace
Symfony\Component\DependencyInjection\TestsCode
protected function getThrowsExceptionOnServiceConfigurationService() {
$this->services['throws_exception_on_service_configuration'] = $instance = new \stdClass();
throw new \Exception('Something was terribly wrong while trying to configure the service!');
}