Documentation

ArgumentResolverTest extends TestCase
in package

Table of Contents

$resolver  : ArgumentResolver
__invoke()  : mixed
controllerWithFoo()  : mixed
controllerWithoutArguments()  : mixed
setUpBeforeClass()  : mixed
testDefaultState()  : mixed
testGetArguments()  : mixed
testGetArgumentsFailsOnUnresolvedValue()  : mixed
testGetArgumentsFromClosure()  : mixed
testGetArgumentsFromFunctionName()  : mixed
testGetArgumentsFromInvokableObject()  : mixed
testGetArgumentsInjectsExtendingRequest()  : mixed
testGetArgumentsInjectsRequest()  : mixed
testGetArgumentsOverrideDefaultValueByRequestAttribute()  : mixed
testGetArgumentsReturnsEmptyArrayWhenNoArguments()  : mixed
testGetArgumentsUsesDefaultValue()  : mixed
testGetArgumentsUsesDefaultValueFromClosure()  : mixed
testGetArgumentWithoutArray()  : mixed
testGetNullableArguments()  : mixed
testGetNullableArgumentsWithDefaults()  : mixed
testGetSessionArguments()  : mixed
testGetSessionArgumentsWithExtendedSession()  : mixed
testGetSessionArgumentsWithInterface()  : mixed
testGetSessionMissMatchOnNull()  : mixed
testGetSessionMissMatchWithImplementation()  : mixed
testGetSessionMissMatchWithInterface()  : mixed
testGetVariadicArguments()  : mixed
testGetVariadicArgumentsWithoutArrayInRequest()  : mixed
testIfExceptionIsThrownWhenMissingAnArgument()  : mixed
controllerWithExtendingRequest()  : mixed
controllerWithExtendingSession()  : mixed
controllerWithFooAndDefaultBar()  : mixed
controllerWithFooBarFoobar()  : mixed
controllerWithRequest()  : mixed
controllerWithSession()  : mixed
controllerWithSessionInterface()  : mixed

Properties

Methods

__invoke()

public __invoke(mixed $foo[, mixed $bar = null ]) : mixed
Parameters
$foo : mixed
$bar : mixed = null
Return values
mixed

controllerWithFoo()

public controllerWithFoo(mixed $foo) : mixed
Parameters
$foo : mixed
Return values
mixed

controllerWithoutArguments()

public controllerWithoutArguments() : mixed
Return values
mixed

testGetArgumentsFailsOnUnresolvedValue()

public testGetArgumentsFailsOnUnresolvedValue() : mixed
Return values
mixed

testGetArgumentsFromClosure()

public testGetArgumentsFromClosure() : mixed
Return values
mixed

testGetArgumentsFromFunctionName()

public testGetArgumentsFromFunctionName() : mixed
Return values
mixed

testGetArgumentsFromInvokableObject()

public testGetArgumentsFromInvokableObject() : mixed
Return values
mixed

testGetArgumentsInjectsExtendingRequest()

public testGetArgumentsInjectsExtendingRequest() : mixed
Return values
mixed

testGetArgumentsInjectsRequest()

public testGetArgumentsInjectsRequest() : mixed
Return values
mixed

testGetArgumentsOverrideDefaultValueByRequestAttribute()

public testGetArgumentsOverrideDefaultValueByRequestAttribute() : mixed
Return values
mixed

testGetArgumentsReturnsEmptyArrayWhenNoArguments()

public testGetArgumentsReturnsEmptyArrayWhenNoArguments() : mixed
Return values
mixed

testGetArgumentsUsesDefaultValue()

public testGetArgumentsUsesDefaultValue() : mixed
Return values
mixed

testGetArgumentsUsesDefaultValueFromClosure()

public testGetArgumentsUsesDefaultValueFromClosure() : mixed
Return values
mixed

testGetArgumentWithoutArray()

public testGetArgumentWithoutArray() : mixed
Tags
requires

PHP 5.6

Return values
mixed

testGetNullableArguments()

public testGetNullableArguments() : mixed
Tags
requires

PHP 7.1

Return values
mixed

testGetNullableArgumentsWithDefaults()

public testGetNullableArgumentsWithDefaults() : mixed
Tags
requires

PHP 7.1

Return values
mixed

testGetSessionArguments()

public testGetSessionArguments() : mixed
Return values
mixed

testGetSessionArgumentsWithExtendedSession()

public testGetSessionArgumentsWithExtendedSession() : mixed
Return values
mixed

testGetSessionArgumentsWithInterface()

public testGetSessionArgumentsWithInterface() : mixed
Return values
mixed

testGetSessionMissMatchOnNull()

public testGetSessionMissMatchOnNull() : mixed
Return values
mixed

testGetSessionMissMatchWithImplementation()

public testGetSessionMissMatchWithImplementation() : mixed
Return values
mixed

testGetSessionMissMatchWithInterface()

public testGetSessionMissMatchWithInterface() : mixed
Return values
mixed

testGetVariadicArguments()

public testGetVariadicArguments() : mixed
Tags
requires

PHP 5.6

Return values
mixed

testGetVariadicArgumentsWithoutArrayInRequest()

public testGetVariadicArgumentsWithoutArrayInRequest() : mixed
Tags
requires

PHP 5.6

Return values
mixed

testIfExceptionIsThrownWhenMissingAnArgument()

public testIfExceptionIsThrownWhenMissingAnArgument() : mixed
Return values
mixed

controllerWithFooAndDefaultBar()

protected controllerWithFooAndDefaultBar(mixed $foo[, mixed $bar = null ]) : mixed
Parameters
$foo : mixed
$bar : mixed = null
Return values
mixed

controllerWithFooBarFoobar()

protected controllerWithFooBarFoobar(mixed $foo, mixed $bar, mixed $foobar) : mixed
Parameters
$foo : mixed
$bar : mixed
$foobar : mixed
Return values
mixed

Search results