Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
srv
/
admin
/
htdocs
/
phpmyadmin-4.9
/
libraries
/
classes
/
Di
/
/srv/admin/htdocs/phpmyadmin-4.9/libraries/classes/Di/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; } }