PHP Class Kahlan\Jit\Node\FunctionDef

Inheritance: extends NodeDef
Datei anzeigen Open project: crysalead/kahlan Class Usage Examples

Public Properties

Property Type Description
$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.

Public Methods

Method Description
argsToParams ( ) : string Returns function's arguments into a list of callable parameters

Method Details

argsToParams() public method

Returns function's arguments into a list of callable parameters
public argsToParams ( ) : string
return string

Property Details

$args public_oe property

The arguments of the function.
public array $args
return array

$isClosure public_oe property

Boolean indicating if this function is a closure.
public bool $isClosure
return boolean

$isGenerator public_oe property

Boolean indicating if this function is a generator function.
public bool $isGenerator
return boolean

$isMethod public_oe property

Boolean indicating if this function is a method.
public bool $isMethod
return boolean

$name public_oe property

The name of the function.
public string $name
return string

$type public_oe property

The node's type.
public string $type
return string

$visibility public_oe property

Boolean indicating the visibilty of the method.
public bool $visibility
return boolean