I hereby claim:
- I am jeremylivingston on github.
- I am jeremylivingston (https://keybase.io/jeremylivingston) on keybase.
- I have a public key ASBNQuvSFzsNLNL1SBnORr54fCzvKeP0ck889VqMbA3EJgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
$config = new \ProxyManager\Configuration(); // customize this if needed for production | |
$factory = new \ProxyManager\Factory\LazyLoadingValueHolderFactory($config); | |
$proxy = $factory->createProxy( | |
'SoapClient', | |
function (& $wrappedObject, $proxy, $method, $parameters, & $initializer) { | |
$wrappedObject = new \SoapClient('http://www.blah.com'); // instantiation logic here | |
$initializer = null; // turning off further lazy initialization |