Exemple #1
0
 public function __construct(Core_Daemon $daemon, array $args = array())
 {
     parent::__construct($daemon, $args);
     if (isset($args['path'])) {
         $this->path = $args['path'];
     } else {
         $this->path = dirname($daemon->get('filename'));
     }
 }
Exemple #2
0
 public function __construct(Core_Daemon $daemon, array $args = array())
 {
     parent::__construct($daemon, $args);
     $this->pid = getmypid();
 }