getProcess() public method

Return the event's process
public getProcess ( ) : Process
return Symfony\Component\Process\Process $process
Example #1
0
 /**
  * Format the event error message
  *
  * @param  \Crunz\Event $event
  *
  * @return  string
  */
 protected function formatEventError(Event $event)
 {
     return $event->description . '(' . $event->getCommandForDisplay() . ') ' . PHP_EOL . $event->getProcess()->getErrorOutput() . PHP_EOL;
 }