ControllerResolverTest
extends TestCase
Table of Contents
-
__invoke()
: mixed
-
controllerMethod1()
: mixed
-
getUndefinedControllers()
: mixed
-
testCreateControllerCanReturnAnyCallable()
: mixed
-
testGetArguments()
: mixed
-
testGetControllerOnNonUndefinedFunction()
: mixed
-
testGetControllerOnObjectWithoutInvokeMethod()
: 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
-
controllerMethod2()
: mixed
-
controllerMethod3()
: mixed
-
controllerMethod4()
: mixed
-
controllerMethod5()
: mixed
-
createControllerResolver()
: mixed
__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
—
testGetArguments()
public
testGetArguments() : mixed
-
group
-
Return values
mixed
—
testGetControllerOnNonUndefinedFunction()
public
testGetControllerOnNonUndefinedFunction(mixed $controller[, mixed $exceptionName = null ][, mixed $exceptionMessage = null ]) : mixed
Parameters
-
$controller
: mixed
-
-
$exceptionName
: mixed
= null
-
-
$exceptionMessage
: mixed
= null
-
-
dataProvider
-
Return values
mixed
—
testGetControllerOnObjectWithoutInvokeMethod()
public
testGetControllerOnObjectWithoutInvokeMethod() : 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
-
requires
-
-
group
-
Return values
mixed
—
testGetNullableArgumentsWithDefaults()
public
testGetNullableArgumentsWithDefaults() : mixed
-
requires
-
-
group
-
Return values
mixed
—
testGetVariadicArguments()
public
testGetVariadicArguments() : mixed
-
requires
-
-
group
-
Return values
mixed
—
testIfExceptionIsThrownWhenMissingAnArgument()
public
testIfExceptionIsThrownWhenMissingAnArgument() : mixed
-
group
-
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 ]) : mixed
Parameters
-
$logger
: LoggerInterface
= null
-
Return values
mixed
—