PHP Класс SqlParser\Components\FunctionCall

Автор: Dan Ungureanu ([email protected])
Наследование: extends SqlParser\Component
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$name string The name of this function.
$parameters ArrayObj The list of parameters

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

Метод Описание
__construct ( string $name = null, array | ArrayObj $parameters = null ) Constructor.
build ( FunctionCall $component, array $options = [] ) : string
parse ( Parser $parser, TokensList $list, array $options = [] ) : FunctionCall

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

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

Constructor.
public __construct ( string $name = null, array | ArrayObj $parameters = null )
$name string The name of the function to be called.
$parameters array | ArrayObj The parameters of this function.

build() публичный статический Метод

public static build ( FunctionCall $component, array $options = [] ) : string
$component FunctionCall The component to be built.
$options array Parameters for building.
Результат string

parse() публичный статический Метод

public static parse ( Parser $parser, TokensList $list, array $options = [] ) : FunctionCall
$parser SqlParser\Parser The parser that serves as context.
$list SqlParser\TokensList The list of tokens that are being parsed.
$options array Parameters for parsing.
Результат FunctionCall

Описание свойств

$name публичное свойство

The name of this function.
public string $name
Результат string

$parameters публичное свойство

The list of parameters
public ArrayObj,SqlParser\Components $parameters
Результат ArrayObj