PHP Class Symfony\Bundle\FrameworkBundle\Tests\Controller\ControllerResolverTest

Show file Open project: symfony/symfony

Public Methods

Method Description
getUndefinedControllers ( )
testGetControllerInvokableService ( )
testGetControllerInvokableServiceWithClassNameAsName ( )
testGetControllerOnContainerAware ( )
testGetControllerOnContainerAwareInvokable ( )
testGetControllerOnNonUndefinedFunction ( $controller, $exceptionName = null, $exceptionMessage = null )
testGetControllerService ( )
testGetControllerWithBundleNotation ( )

Protected Methods

Method Description
createControllerResolver ( Psr\Log\LoggerInterface $logger = null, Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser $parser = null, Symfony\Component\DependencyInjection\ContainerInterface $container = null )
createMockContainer ( )
createMockParser ( )

Method Details

createControllerResolver() protected method

protected createControllerResolver ( Psr\Log\LoggerInterface $logger = null, Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser $parser = null, Symfony\Component\DependencyInjection\ContainerInterface $container = null )
$logger Psr\Log\LoggerInterface
$parser Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser
$container Symfony\Component\DependencyInjection\ContainerInterface

createMockContainer() protected method

protected createMockContainer ( )

createMockParser() protected method

protected createMockParser ( )

getUndefinedControllers() public method

testGetControllerInvokableService() public method

testGetControllerInvokableServiceWithClassNameAsName() public method

testGetControllerOnContainerAware() public method

testGetControllerOnContainerAwareInvokable() public method

testGetControllerOnNonUndefinedFunction() public method

public testGetControllerOnNonUndefinedFunction ( $controller, $exceptionName = null, $exceptionMessage = null )

testGetControllerService() public method

testGetControllerWithBundleNotation() public method