File manager - Edit - /usr/local/prospamfilter/vendor/codeception/codeception/src/Codeception/Lib/Connector/ZF2/PersistentServiceManager.php
Back
<?php namespace Codeception\Lib\Connector\ZF2; use \Zend\ServiceManager\ServiceLocatorInterface; use \Zend\ServiceManager\ServiceManager; class PersistentServiceManager extends ServiceManager implements ServiceLocatorInterface { /** * @var ServiceLocatorInterface Used to retrieve Doctrine services */ private $serviceManager; public function __construct(ServiceLocatorInterface $serviceManager) { $this->serviceManager = $serviceManager; } public function get($name) { if (parent::has($name)) { return parent::get($name); } return $this->serviceManager->get($name); } public function has($name) { if (parent::has($name)) { return true; } if (preg_match('/doctrine/i', $name)) { return $this->serviceManager->has($name); } return false; } public function setService($name, $service) { parent::setService($name, $service); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings