/** * @brief Constructor. */ public function __construct() { Console::debug("Constructing service instance"); // register_shutdown_function(array(&$this, 'fatal')); gc_enable(); declare (ticks=1); register_tick_function(array($this, 'checkstate')); parent::__construct(); }
public function __construct(ContainerInterface $container) { parent::__construct($container, $this::NAME, $this::VERSION); $this->addOptions(); }