PHP Класс Kahlan\Jit\Node\FunctionDef

Наследование: extends NodeDef
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$args array The arguments of the function.
$isClosure boolean Boolean indicating if this function is a closure.
$isGenerator boolean Boolean indicating if this function is a generator function.
$isMethod boolean Boolean indicating if this function is a method.
$name string The name of the function.
$type string The node's type.
$visibility boolean Boolean indicating the visibilty of the method.

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

Метод Описание
argsToParams ( ) : string Returns function's arguments into a list of callable parameters

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

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

Returns function's arguments into a list of callable parameters
public argsToParams ( ) : string
Результат string

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

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

The arguments of the function.
public array $args
Результат array

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

Boolean indicating if this function is a closure.
public bool $isClosure
Результат boolean

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

Boolean indicating if this function is a generator function.
public bool $isGenerator
Результат boolean

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

Boolean indicating if this function is a method.
public bool $isMethod
Результат boolean

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

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

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

The node's type.
public string $type
Результат string

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

Boolean indicating the visibilty of the method.
public bool $visibility
Результат boolean