Property | Type | Description | |
---|---|---|---|
$classes | |||
$functions | |||
$traits |
Method | Description | |
---|---|---|
addClass ( |
||
addFunction ( |
||
addTrait ( |
||
compile ( |
||
getFunction ( string $name ) : boolean | |
Try to find function from pre-compiled function(s) | |
getFunctionNS ( string $name, string | null $namespace = null ) : boolean | |
Try to find function with $namespace from pre-compiled function(s) | |
getTrait ( string $name ) : |
public addClass ( |
||
$class |
public addFunction ( |
||
$function |
public addTrait ( |
||
$class |
public getFunction ( string $name ) : boolean | |
||
$name | string | |
return | boolean | |
protected ClassDefinition[],PHPSA\Definition $classes | ||
return |
protected FunctionDefinition[],PHPSA\Definition $functions | ||
return |