[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
xampp182
/
phpMyAdmin
/
libraries
/
classes
/
Di
/
[
Home
]
File: 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; } }