app/Services/ValidateService.php
public function print(ValidationFailedException $e, OutputInterface $output) {

		$table = new Table($output);
		$table->setHeaders( ['Field', 'Problem'] );

		$i = 0;
		foreach( $e->getFailures() as $field => $messages ) {
			foreach($messages as $message)
				$table->setRow( $i++, [$field, $message] );

		}

		$table->render();
	}
public function print(ValidationFailedException $e, OutputInterface $output) {

		$table = new Table($output);
		$table->setHeaders( ['Field', 'Problem'] );

		$i = 0;
		foreach( $e->getFailures() as $field => $messages ) {
			foreach($messages as $message)
				$table->setRow( $i++, [$field, $message] );

		}

		$table->render();
	}
public function print ( ValidationFailedException $ e , OutputInterface $ output ) { $ table = new Table ( $ output ) ; $ table -> setHeaders ( [ 'Field' , 'Problem' ] ) ; $ i = 0 ; foreach ( $ e -> getFailures ( ) as $ field => $ messages ) { foreach ( $ messages as $ message ) $ table -> setRow ( $ i ++ , [ $ field , $ message ] ) ; } $ table -> render ( ) ; }
Print a table with one "field", "message" per row for all messages left in the ValidationFailedException

@param ValidationFailedException $e
@param OutputInterface $output
Print a table with one field message per row for all messages left in the ValidationFailedException