You are here

protected function ProjectServiceContainer::getThrowExceptionService in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/ContainerTest.php \Symfony\Component\DependencyInjection\Tests\ProjectServiceContainer::getThrowExceptionService()

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Tests/ContainerTest.php, line 702

Class

ProjectServiceContainer

Namespace

Symfony\Component\DependencyInjection\Tests

Code

protected function getThrowExceptionService() {
  throw new \Exception('Something went terribly wrong!');
}