PHP Class Pinq\Tests\Integration\Queries\Functions\FunctionTest

Inheritance: extends Pinq\Tests\PinqTestCase
Datei anzeigen Open project: timetoogo/pinq

Public Methods

Method Description
testEmptyFunction ( )
testFunctionWithReturnStatement ( )
testInternalFunctionThrowsException ( )
testSerialization ( )
testUpdate ( )
testUpdateBody ( )
testWalk ( )

Protected Methods

Method Description
buildFunction ( string $callableParameter, string $scopeType = null, string $namespace = null, array $parameterScopedVariableMap = [], array $parameterExpressions = [], array $bodyExpressions = null ) : Pinq\Queries\Functions\IFunction
emptyFunction ( )
functionFactory ( ) : callable
functionWithReturnStatement ( )
internalFunction ( )

Method Details

buildFunction() protected method

protected buildFunction ( string $callableParameter, string $scopeType = null, string $namespace = null, array $parameterScopedVariableMap = [], array $parameterExpressions = [], array $bodyExpressions = null ) : Pinq\Queries\Functions\IFunction
$callableParameter string
$scopeType string
$namespace string
$parameterScopedVariableMap array
$parameterExpressions array
$bodyExpressions array
return Pinq\Queries\Functions\IFunction

emptyFunction() protected method

protected emptyFunction ( )

functionFactory() abstract protected method

abstract protected functionFactory ( ) : callable
return callable

functionWithReturnStatement() protected method

internalFunction() protected method

protected internalFunction ( )

testEmptyFunction() public method

public testEmptyFunction ( )

testFunctionWithReturnStatement() public method

testInternalFunctionThrowsException() public method

testSerialization() public method

public testSerialization ( )

testUpdate() public method

public testUpdate ( )

testUpdateBody() public method

public testUpdateBody ( )

testWalk() public method

public testWalk ( )