Méthode | Description | |
---|---|---|
__construct ( $writeProxiesToFile, $proxyDirectory = null ) | ||
createProxy ( string $className, Closure $initializer ) : ProxyManager\Proxy\LazyLoadingInterface | Creates a new lazy proxy instance of the given class with the given initializer. |
Méthode | Description | |
---|---|---|
createProxyManager ( ) |
public createProxy ( string $className, Closure $initializer ) : ProxyManager\Proxy\LazyLoadingInterface | ||
$className | string | name of the class to be proxied |
$initializer | Closure | initializer to be passed to the proxy |
Résultat | ProxyManager\Proxy\LazyLoadingInterface |