Documentation

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

testCreateControllerCanReturnAnyCallable()

public testCreateControllerCanReturnAnyCallable() : mixed
Return values
mixed

testExceptionWhenUsingControllerWithoutAnInvokeMethod()

public testExceptionWhenUsingControllerWithoutAnInvokeMethod() : mixed
Return values
mixed

testExceptionWhenUsingRemovedControllerService()

public testExceptionWhenUsingRemovedControllerService() : 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
dataProvider

getUndefinedControllers

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
Tags
requires

PHP 7.1

group

legacy

Return values
mixed

testGetNullableArgumentsWithDefaults()

public testGetNullableArgumentsWithDefaults() : mixed
Tags
requires

PHP 7.1

group

legacy

Return values
mixed

testGetVariadicArguments()

public testGetVariadicArguments() : mixed
Tags
requires

PHP 5.6

group

legacy

Return values
mixed

testIfExceptionIsThrownWhenMissingAnArgument()

public testIfExceptionIsThrownWhenMissingAnArgument() : mixed
Tags
group

legacy

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

Search results