public static getContainer ( ) : |
||
return |
public static function getContainer()
{
return Container::getInstance();
}
/** * Constructor */ function __construct() { $this->Logger = \Scalr::getContainer()->logger('SignalHandler'); if (!function_exists("pcntl_signal")) { throw new \Exception("Function pcntl_signal() is not found. PCNTL must be enabled in PHP.", E_ERROR); } }