Skip to content

Commit

Permalink
README.md fix FQCN usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk committed Jan 4, 2017
1 parent 808ebe8 commit ecf343c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $factory = new \ProxyManager\Factory\LazyLoadingValueHolderFactory();
$proxy = $factory->createProxy(
\MyApp\HeavyComplexObject::class,
function (& $wrappedObject, $proxy, $method, $parameters, & $initializer) {
$wrappedObject = new HeavyComplexObject(); // instantiation logic here
$wrappedObject = new \MyApp\HeavyComplexObject(); // instantiation logic here
$initializer = null; // turning off further lazy initialization
}
);
Expand Down

0 comments on commit ecf343c

Please sign in to comment.