Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
usr
/
share
/
phpmyadmin
/
libraries
/
di
/
//usr/share/phpmyadmin/libraries/di/ServiceItem.php
<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * Holds the PMA\libraries\di\ServiceItem class * * @package PMA */ namespace PMA\libraries\di; /** * Service manager * * @package PMA\libraries\di */ class ServiceItem extends ReflectorItem { /** @var mixed */ protected $instance; /** * Get the instance of the service * * @param array $params Parameters * @return mixed */ public function get($params = array()) { if (!isset($this->instance)) { $this->instance = $this->invoke(); } return $this->instance; } }