Ejemplo n.º 1
0
 public function __construct()
 {
     if (isset(self::$current)) {
         throw new ConstructionException('Cannot construct more than one instance of singleton class Cron.');
     }
     $this->_parse_arguments();
     self::$current = $this;
 }