init() public static method

Performs initial actions.
public static init ( ) : void
return void
Example #1
0
 /**
  * Runworker.
  * @return void
  */
 public static function runworker()
 {
     Daemon::log('PLEASE USE runworker COMMAND ONLY FOR DEBUGGING PURPOSES.');
     Daemon::init();
     Daemon::runWorker();
 }