Метод | Описание | |
---|---|---|
build ( string $methodName, array $interceptedMethods, string $targetClassName ) : string | Builds interception PHP code for an adviced method |
public build ( string $methodName, array $interceptedMethods, string $targetClassName ) : string | ||
$methodName | string | Name of the method to build an interceptor for |
$interceptedMethods | array | An array of method names and their meta information, including advices for the method (if any) |
$targetClassName | string | Name of the target class to build the interceptor for |
Результат | string | PHP code of the interceptor |