Beispiel #1
0
 /**
  * @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();
 }
Beispiel #2
0
 public function __construct(ContainerInterface $container)
 {
     parent::__construct($container, $this::NAME, $this::VERSION);
     $this->addOptions();
 }