\PhpParser\BuilderParamTest

Summary

Methods
Properties
Constants
createParamBuilder()
testDefaultValues()
provideTestDefaultValues()
testTypeHints()
provideTestTypeHints()
testVoidTypeError()
testInvalidTypeError()
testByRef()
testVariadic()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

createParamBuilder()

createParamBuilder(  $name) 

Parameters

$name

testDefaultValues()

testDefaultValues(  $value,   $expectedValueNode) 

Parameters

$value
$expectedValueNode

provideTestDefaultValues()

provideTestDefaultValues() 

testTypeHints()

testTypeHints(  $typeHint,   $expectedType) 

Parameters

$typeHint
$expectedType

provideTestTypeHints()

provideTestTypeHints() 

testVoidTypeError()

testVoidTypeError() 

testInvalidTypeError()

testInvalidTypeError() 

testByRef()

testByRef() 

testVariadic()

testVariadic()