003 File Manager
Current Path:
/usr/local/www/sites/shared/phpmyadmin/libraries/classes/Di
usr
/
local
/
www
/
sites
/
shared
/
phpmyadmin
/
libraries
/
classes
/
Di
/
📁
..
📄
AliasItem.php
(857 B)
📄
Container.php
(4.39 KB)
📄
ContainerException.php
(378 B)
📄
FactoryItem.php
(476 B)
📄
Item.php
(390 B)
📄
NotFoundException.php
(367 B)
📄
ReflectorItem.php
(3.54 KB)
📄
ServiceItem.php
(616 B)
📄
ValueItem.php
(643 B)
Editing: ServiceItem.php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Holds the PhpMyAdmin\Di\ServiceItem class * * @package PhpMyAdmin\Di */ namespace PhpMyAdmin\Di; /** * Service manager * * @package PhpMyAdmin\Di */ class ServiceItem extends ReflectorItem { /** @var mixed */ protected $instance; /** * Get the instance of the service * * @param array $params Parameters * @return mixed */ public function get(array $params = array()) { if (!isset($this->instance)) { $this->instance = $this->invoke(); } return $this->instance; } }
Upload File
Create Folder