Свойство | Тип | Описание | |
---|---|---|---|
$classes | |||
$functions | |||
$traits |
Метод | Описание | |
---|---|---|
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 | |
Результат | boolean | |
protected ClassDefinition[],PHPSA\Definition $classes | ||
Результат |
protected FunctionDefinition[],PHPSA\Definition $functions | ||
Результат |