PHPDaemon\Core\ShellCommand::eof PHP Method

eof() public method

Got EOF?
public eof ( ) : boolean
return boolean
    public function eof()
    {
        return $this->EOF;
    }

Usage Example

Example #1
0
 /**
  * Called when request iterated.
  * @return void
  */
 public function run()
 {
     if (!$this->proc) {
         $this->out('Couldn\'t execute CGI proccess.');
         $this->finish();
         return;
     }
     if (!$this->proc->eof()) {
         $this->sleep();
     }
 }