src/Shell/BasicSeedShell.php
protected function printValidationErrors($table, $id, $errors) {
		foreach ($errors as $field => $messages) {
			foreach ((array)$messages as $message) {
				$this->quiet("<warning>{$table} ({$id}): {$field}: {$message}</warning>");
			}
		}
	}
protected function printValidationErrors($table, $id, $errors) {
		foreach ($errors as $field => $messages) {
			foreach ((array)$messages as $message) {
				$this->quiet("<warning>{$table} ({$id}): {$field}: {$message}</warning>");
			}
		}
	}
protected function printValidationErrors ( $ table , $ id , $ errors ) { foreach ( $ errors as $ field => $ messages ) { foreach ( ( array ) $ messages as $ message ) { $ this -> quiet ( "<warning>{$table} ({$id}): {$field}: {$message}</warning>" ) ; } } }
Helper method to print a validation errors array in a console-readable format.

@param string $table The string name of the Table.
@param mixed $id The primary key for the given record.
@param array $errors Validation errors array.
@return void
Helper method to print a validation errors array in a console - readable format .