PHP 클래스 BetterReflectionTest\Reflection\ReflectionParameterTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: roave/better-reflection

공개 메소드들

메소드 설명
defaultParameterProvider ( ) : array
defaultValueStringProvider ( )
setUp ( )
testAllowsNull ( )
testCannotClone ( )
testCreateFromClassInstanceAndMethod ( )
testCreateFromClassNameAndMethod ( )
testCreateFromSpecWithArray ( )
testCreateFromSpecWithArrayWithInstance ( )
testCreateFromSpecWithClosure ( )
testCreateFromSpecWithFunctionName ( )
testCreateFromSpecWithInvalidArgumentThrowsException ( )
testDefaultParametersTypes ( string $defaultExpression, mixed $expectedValue )
testExportThrowsException ( )
testGetClassForTypeHintedMethodParameters ( )
testGetDeclaringClassForFunctionReturnsNull ( )
testGetDeclaringClassForMethod ( )
testGetDeclaringFunction ( )
testGetDefaultValueAndIsOptional ( )
testGetDefaultValueAsString ( string $defaultValue, $expectedValue )
testGetDefaultValueWhenDefaultValueNotAvailableThrowsException ( )
testGetDocBlockTypeStrings ( )
testGetDocBlockTypes ( )
testGetPosition ( )
testGetTypeHint ( string $parameterToTest, string $expectedType, string | null $expectedFqsen = null, string | null $expectedFqsenName = null )
testHasTypeReturnsFalseWithoutType ( )
testHasTypeReturnsTrueWithType ( )
testImplementsReflector ( )
testIsArray ( )
testIsCallable ( )
testIsDefaultValueConstantAndGetDefaultValueConstantName ( )
testIsPassedByReference ( )
testIsVariadic ( )
testPhp7TypeDeclarationWithClassTypeIsNotBuiltin ( )
testPhp7TypeDeclarationWithIntBuiltinType ( )
testPhp7TypeDeclarationWithStringTypeThatAllowsNull ( )
testPhp7TypeDeclarationWithoutType ( )
testRemoveType ( )
testSetType ( )
testStringCast ( )
testVariadicParametersAreAlsoImplicitlyOptional ( )
typeHintProvider ( ) : array

메소드 상세

defaultParameterProvider() 공개 메소드

public defaultParameterProvider ( ) : array
리턴 array

defaultValueStringProvider() 공개 메소드

setUp() 공개 메소드

public setUp ( )

testAllowsNull() 공개 메소드

public testAllowsNull ( )

testCannotClone() 공개 메소드

public testCannotClone ( )

testCreateFromClassInstanceAndMethod() 공개 메소드

testCreateFromClassNameAndMethod() 공개 메소드

testCreateFromSpecWithArray() 공개 메소드

testCreateFromSpecWithArrayWithInstance() 공개 메소드

testCreateFromSpecWithClosure() 공개 메소드

testCreateFromSpecWithFunctionName() 공개 메소드

testCreateFromSpecWithInvalidArgumentThrowsException() 공개 메소드

testDefaultParametersTypes() 공개 메소드

public testDefaultParametersTypes ( string $defaultExpression, mixed $expectedValue )
$defaultExpression string
$expectedValue mixed

testExportThrowsException() 공개 메소드

testGetClassForTypeHintedMethodParameters() 공개 메소드

testGetDeclaringClassForFunctionReturnsNull() 공개 메소드

testGetDeclaringClassForMethod() 공개 메소드

testGetDeclaringFunction() 공개 메소드

testGetDefaultValueAndIsOptional() 공개 메소드

testGetDefaultValueAsString() 공개 메소드

public testGetDefaultValueAsString ( string $defaultValue, $expectedValue )
$defaultValue string

testGetDefaultValueWhenDefaultValueNotAvailableThrowsException() 공개 메소드

testGetDocBlockTypeStrings() 공개 메소드

testGetDocBlockTypes() 공개 메소드

testGetPosition() 공개 메소드

public testGetPosition ( )

testGetTypeHint() 공개 메소드

public testGetTypeHint ( string $parameterToTest, string $expectedType, string | null $expectedFqsen = null, string | null $expectedFqsenName = null )
$parameterToTest string
$expectedType string
$expectedFqsen string | null
$expectedFqsenName string | null

testHasTypeReturnsFalseWithoutType() 공개 메소드

testHasTypeReturnsTrueWithType() 공개 메소드

testImplementsReflector() 공개 메소드

testIsArray() 공개 메소드

public testIsArray ( )

testIsCallable() 공개 메소드

public testIsCallable ( )

testIsDefaultValueConstantAndGetDefaultValueConstantName() 공개 메소드

testIsPassedByReference() 공개 메소드

testIsVariadic() 공개 메소드

public testIsVariadic ( )

testPhp7TypeDeclarationWithClassTypeIsNotBuiltin() 공개 메소드

testPhp7TypeDeclarationWithIntBuiltinType() 공개 메소드

testPhp7TypeDeclarationWithStringTypeThatAllowsNull() 공개 메소드

testPhp7TypeDeclarationWithoutType() 공개 메소드

testRemoveType() 공개 메소드

public testRemoveType ( )

testSetType() 공개 메소드

public testSetType ( )

testStringCast() 공개 메소드

public testStringCast ( )

testVariadicParametersAreAlsoImplicitlyOptional() 공개 메소드

typeHintProvider() 공개 메소드

public typeHintProvider ( ) : array
리턴 array