PHP Class Ouzo\Utilities\DynamicProxy

Afficher le fichier Open project: letsdrink/ouzo Class Usage Examples

Méthodes publiques

Méthode Description
extractMethodHandler ( $proxy ) : mixed Extracts method handler from proxy object.
newInstance ( $className, $methodHandler ) : null Creates a proxy for the given class.

Private Methods

Méthode Description
getClassMethods ( ReflectionClass $class ) : ReflectionMetho\ReflectionMethod[]
getParameterDeclaration ( ReflectionFunctionAbstract $method )
getProxyClassDefinition ( $name, $className )

Method Details

extractMethodHandler() public static méthode

Extracts method handler from proxy object.
public static extractMethodHandler ( $proxy ) : mixed
$proxy
Résultat mixed

newInstance() public static méthode

Returned object dispatches method invocations to $methodHandler.
public static newInstance ( $className, $methodHandler ) : null
$className
$methodHandler
Résultat null