PHP Класс Webmozart\Expression\Selector\Method

С версии: 1.0
Автор: Bernhard Schussek ([email protected])
Наследование: extends Selector
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $methodName, array $arguments, Webmozart\Expression\Expression $expr ) Creates the expression.
equivalentTo ( Webmozart\Expression\Expression $other )
evaluate ( $value )
getArguments ( ) : array Returns the method arguments.
getMethodName ( ) : string Returns the method name.
toString ( )

Описание методов

__construct() публичный метод

Creates the expression.
public __construct ( string $methodName, array $arguments, Webmozart\Expression\Expression $expr )
$methodName string The name of the method to call.
$arguments array The arguments to pass to the method.
$expr Webmozart\Expression\Expression The expression to evaluate for the result.

equivalentTo() публичный метод

public equivalentTo ( Webmozart\Expression\Expression $other )
$other Webmozart\Expression\Expression

evaluate() публичный метод

public evaluate ( $value )

getArguments() публичный метод

Returns the method arguments.
public getArguments ( ) : array
Результат array The method arguments.

getMethodName() публичный метод

Returns the method name.
public getMethodName ( ) : string
Результат string The method name.

toString() публичный метод

public toString ( )