Example #1
0
 /**
  * stop method
  *
  * @return void
  * @access protected
  */
 function _stop()
 {
     $this->_log('Return value: ' . (int) $this->returnValue, null, 'debug');
     return parent::_stop($this->returnValue);
 }
 /**
  * Overridden to allow Stop messages
  *
  * @param integer $status
  * @access protected
  * @return void
  */
 function _stop($status = 0)
 {
     $this->out($status === 0 ? __('Quitting.', true) : __('Aborting.', true));
     parent::_stop($status);
 }
Example #3
0
 function _stop()
 {
     foreach ($this->threads as $thread) {
         $thread->stop();
     }
     parent::_stop();
 }