PHP Class Pinq\Parsing\FunctionDeclaration

Author: Elliot Levin ([email protected])
Inheritance: implements Pinq\Parsing\IFunctionDeclaration
Show file Open project: timetoogo/pinq

Protected Properties

Property Type Description
$class string | null
$closureNestingLevel string | null
$function string | null
$namespace string | null
$trait string | null

Public Methods

Method Description
__construct ( $namespace, $class, $trait, $function, $closureNestingLevel )
getClass ( )
getClosureNestingLevel ( )
getFunction ( )
getNamespace ( )
getTrait ( )
isWithinClass ( )
isWithinFunction ( )
isWithinNamespace ( )
isWithinTrait ( )

Method Details

__construct() public method

public __construct ( $namespace, $class, $trait, $function, $closureNestingLevel )

getClass() public method

public getClass ( )

getClosureNestingLevel() public method

getFunction() public method

public getFunction ( )

getNamespace() public method

public getNamespace ( )

getTrait() public method

public getTrait ( )

isWithinClass() public method

public isWithinClass ( )

isWithinFunction() public method

public isWithinFunction ( )

isWithinNamespace() public method

public isWithinNamespace ( )

isWithinTrait() public method

public isWithinTrait ( )

Property Details

$class protected property

protected string|null $class
return string | null

$closureNestingLevel protected property

protected string|null $closureNestingLevel
return string | null

$function protected property

protected string|null $function
return string | null

$namespace protected property

protected string|null $namespace
return string | null

$trait protected property

protected string|null $trait
return string | null