ContainerControllerResolverTest
extends ControllerResolverTest
in package
Table of Contents
- __invoke() : mixed
- controllerMethod1() : mixed
- getUndefinedControllers() : mixed
- testCreateControllerCanReturnAnyCallable() : mixed
- testExceptionWhenUsingControllerWithoutAnInvokeMethod() : mixed
- testExceptionWhenUsingRemovedControllerService() : mixed
- testGetArguments() : mixed
- testGetControllerInvokableService() : mixed
- testGetControllerInvokableServiceWithClassNameAsName() : mixed
- testGetControllerOnNonUndefinedFunction() : mixed
- testGetControllerOnObjectWithoutInvokeMethod() : mixed
- testGetControllerService() : mixed
- testGetControllerWithClassAndInvokeMethod() : mixed
- testGetControllerWithClassAndMethod() : mixed
- testGetControllerWithFunction() : mixed
- testGetControllerWithLambda() : mixed
- testGetControllerWithObjectAndInvokeMethod() : mixed
- testGetControllerWithObjectAndMethod() : mixed
- testGetControllerWithObjectAndMethodAsString() : mixed
- testGetControllerWithoutControllerParameter() : mixed
- testGetNullableArguments() : mixed
- testGetNullableArgumentsWithDefaults() : mixed
- testGetVariadicArguments() : mixed
- testIfExceptionIsThrownWhenMissingAnArgument() : mixed
- testNonConstructController() : mixed
- testNonInstantiableController() : mixed
- testNonInstantiableControllerWithCorrespondingService() : mixed
- controllerMethod2() : mixed
- controllerMethod3() : mixed
- controllerMethod4() : mixed
- controllerMethod5() : mixed
- createControllerResolver() : mixed
- createMockContainer() : mixed
Methods
__invoke()
public
__invoke(mixed $foo[, mixed $bar = null ]) : mixed
Parameters
- $foo : mixed
- $bar : mixed = null
Return values
mixed —controllerMethod1()
public
controllerMethod1(mixed $foo) : mixed
Parameters
- $foo : mixed
Return values
mixed —getUndefinedControllers()
public
getUndefinedControllers() : mixed
Return values
mixed —testCreateControllerCanReturnAnyCallable()
public
testCreateControllerCanReturnAnyCallable() : mixed
Return values
mixed —testExceptionWhenUsingControllerWithoutAnInvokeMethod()
public
testExceptionWhenUsingControllerWithoutAnInvokeMethod() : mixed
Return values
mixed —testExceptionWhenUsingRemovedControllerService()
public
testExceptionWhenUsingRemovedControllerService() : mixed
Return values
mixed —testGetArguments()
public
testGetArguments() : mixed
Tags
Return values
mixed —testGetControllerInvokableService()
public
testGetControllerInvokableService() : mixed
Return values
mixed —testGetControllerInvokableServiceWithClassNameAsName()
public
testGetControllerInvokableServiceWithClassNameAsName() : mixed
Return values
mixed —testGetControllerOnNonUndefinedFunction()
public
testGetControllerOnNonUndefinedFunction(mixed $controller[, mixed $exceptionName = null ][, mixed $exceptionMessage = null ]) : mixed
Parameters
- $controller : mixed
- $exceptionName : mixed = null
- $exceptionMessage : mixed = null
Tags
Return values
mixed —testGetControllerOnObjectWithoutInvokeMethod()
public
testGetControllerOnObjectWithoutInvokeMethod() : mixed
Return values
mixed —testGetControllerService()
public
testGetControllerService() : mixed
Return values
mixed —testGetControllerWithClassAndInvokeMethod()
public
testGetControllerWithClassAndInvokeMethod() : mixed
Return values
mixed —testGetControllerWithClassAndMethod()
public
testGetControllerWithClassAndMethod() : mixed
Return values
mixed —testGetControllerWithFunction()
public
testGetControllerWithFunction() : mixed
Return values
mixed —testGetControllerWithLambda()
public
testGetControllerWithLambda() : mixed
Return values
mixed —testGetControllerWithObjectAndInvokeMethod()
public
testGetControllerWithObjectAndInvokeMethod() : mixed
Return values
mixed —testGetControllerWithObjectAndMethod()
public
testGetControllerWithObjectAndMethod() : mixed
Return values
mixed —testGetControllerWithObjectAndMethodAsString()
public
testGetControllerWithObjectAndMethodAsString() : mixed
Return values
mixed —testGetControllerWithoutControllerParameter()
public
testGetControllerWithoutControllerParameter() : mixed
Return values
mixed —testGetNullableArguments()
public
testGetNullableArguments() : mixed
Tags
Return values
mixed —testGetNullableArgumentsWithDefaults()
public
testGetNullableArgumentsWithDefaults() : mixed
Tags
Return values
mixed —testGetVariadicArguments()
public
testGetVariadicArguments() : mixed
Tags
Return values
mixed —testIfExceptionIsThrownWhenMissingAnArgument()
public
testIfExceptionIsThrownWhenMissingAnArgument() : mixed
Tags
Return values
mixed —testNonConstructController()
public
testNonConstructController() : mixed
Return values
mixed —testNonInstantiableController()
public
testNonInstantiableController() : mixed
Return values
mixed —testNonInstantiableControllerWithCorrespondingService()
public
testNonInstantiableControllerWithCorrespondingService() : mixed
Return values
mixed —controllerMethod2()
protected
controllerMethod2(mixed $foo[, mixed $bar = null ]) : mixed
Parameters
- $foo : mixed
- $bar : mixed = null
Return values
mixed —controllerMethod3()
protected
controllerMethod3(mixed $foo, mixed $bar, mixed $foobar) : mixed
Parameters
- $foo : mixed
- $bar : mixed
- $foobar : mixed
Return values
mixed —controllerMethod4()
protected
static controllerMethod4() : mixed
Return values
mixed —controllerMethod5()
protected
controllerMethod5(Request $request) : mixed
Parameters
- $request : Request
Return values
mixed —createControllerResolver()
protected
createControllerResolver([LoggerInterface $logger = null ][, ContainerInterface $container = null ]) : mixed
Parameters
- $logger : LoggerInterface = null
- $container : ContainerInterface = null
Return values
mixed —createMockContainer()
protected
createMockContainer() : mixed