getCommandForDisplay() public method

Get the command for display
public getCommandForDisplay ( ) : string
return string
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;
 }