original_string: public function init() {
  
          $args = $this->console->arguments;
  
          $args->parse();
  
          if ( $args->defined('hardstart') ) {
  
              $this->hardstart();
  
          }
  
          if ( $args->defined('daemon') ) {
  
              $this->daemonize();
  
          } else if ( $args->defined('foreground') ) {
  
              if ( $args->defined('verbose') ) {
                  $this->logger->pushHandler(new LogHandler());
              }
  
              $this->start();
  
          } else {
  
              $this->console->pad()->green()->usage();
              $this->end(0);
  
          }
  
      }
code: public function init() {
  
          $args = $this->console->arguments;
  
          $args->parse();
  
          if ( $args->defined('hardstart') ) {
  
              $this->hardstart();
  
          }
  
          if ( $args->defined('daemon') ) {
  
              $this->daemonize();
  
          } else if ( $args->defined('foreground') ) {
  
              if ( $args->defined('verbose') ) {
                  $this->logger->pushHandler(new LogHandler());
              }
  
              $this->start();
  
          } else {
  
              $this->console->pad()->green()->usage();
              $this->end(0);
  
          }
  
      }
code_tokens: public function init ( ) { $ args = $ this -> console -> arguments ; $ args -> parse ( ) ; if ( $ args -> defined ( 'hardstart' ) ) { $ this -> hardstart ( ) ; } if ( $ args -> defined ( 'daemon' ) ) { $ this -> daemonize ( ) ; } else if ( $ args -> defined ( 'foreground' ) ) { if ( $ args -> defined ( 'verbose' ) ) { $ this -> logger -> pushHandler ( new LogHandler ( ) ) ; } $ this -> start ( ) ; } else { $ this -> console -> pad ( ) -> green ( ) -> usage ( ) ; $ this -> end ( 0 ) ; } }
docstring: Parse console arguments and init the daemon
docstring_tokens: Parse console arguments and init the daemon