PHP Classes

File: vendor/symfony/symfony/src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/php/lazy_service_structure.txt

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/symfony/symfony/src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/php/lazy_service_structure.txt   Download  
File: vendor/symfony/symfony/src/Symfony/Bridge/ProxyManager/Tests/LazyProxy/Fixtures/php/lazy_service_structure.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Papernic
Manage documents colaboratively
Author: By
Last change:
Date: 8 years ago
Size: 699 bytes
 

 

Contents

Class file image Download
<?php use %a class ProjectServiceContainer extends Container {%a public function getFooService($lazyLoad = true) { if ($lazyLoad) { $container = $this; return $this->services['foo'] = new stdClass_%s( function (&$wrappedInstance, \ProxyManager\Proxy\LazyLoadingInterface $proxy) use ($container) { $wrappedInstance = $container->getFooService(false); $proxy->setProxyInitializer(null); return true; } ); } return new \stdClass(); } } class stdClass_%s extends \stdClass implements \ProxyManager\Proxy\VirtualProxyInterface {%a}%A