Property | Type | Description | |
---|---|---|---|
$advices | array | List of advices that are used for generation of child | |
$indent | integer | Indent for source code | |
$staticLsbExpression | string | PHP expression string for accessing LSB information |
Method | Description | |
---|---|---|
__construct ( array $advices = [] ) | Constructs an abstract proxy class | |
__toString ( ) : string | Returns text representation of class |
Method | Description | |
---|---|---|
getOverriddenFunction ( ReflectionFunctionAbstrac\ReflectionFunctionAbstract $functionLike, string $body ) : string | Creates a function code from Reflection | |
getParameterCode ( ReflectionParameter $parameter ) : string | Return string representation of parameter | |
getParameters ( array $parameters ) : array | Returns list of string representation of parameters | |
indent ( string $text ) : string | Indent block of code | |
prepareArgsLine ( ReflectionFunctionAbstrac\ReflectionFunctionAbstract $functionLike ) : string | Prepares a line with args from the method definition |
Method | Description | |
---|---|---|
flattenAdvices ( $advices ) : array | Replace concrete advices with list of ids |
public __construct ( array $advices = [] ) | ||
$advices | array | List of advices |
abstract public __toString ( ) : string | ||
return | string |
protected getOverriddenFunction ( ReflectionFunctionAbstrac\ReflectionFunctionAbstract $functionLike, string $body ) : string | ||
$functionLike | ReflectionFunctionAbstrac\ReflectionFunctionAbstract | Reflection for method |
$body | string | Body of method |
return | string |
protected getParameterCode ( ReflectionParameter $parameter ) : string | ||
$parameter | ReflectionParameter | Reflection parameter |
return | string |
protected getParameters ( array $parameters ) : array | ||
$parameters | array | List of parameters |
return | array |
protected prepareArgsLine ( ReflectionFunctionAbstrac\ReflectionFunctionAbstract $functionLike ) : string | ||
$functionLike | ReflectionFunctionAbstrac\ReflectionFunctionAbstract | |
return | string |
protected array $advices | ||
return | array |
protected static string $staticLsbExpression | ||
return | string |