Exemplo n.º 1
0
 public function __isset($name)
 {
     if ($this->has($name, true)) {
         return true;
     } else {
         return parent::__isset($name);
     }
 }
Exemplo n.º 2
0
 public function init()
 {
     parent::init();
     foreach ($this->targets as $name => $target) {
         if (!$target instanceof Target) {
             $this->targets[$name] = Ping::createObject($target);
         }
     }
 }
Exemplo n.º 3
0
 /**
  * Initializes the logger by registering [[flush()]] as a shutdown function.
  */
 public function init()
 {
     parent::init();
     register_shutdown_function([$this, 'flush'], true);
 }
Exemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
 }