src/Listeners/Renderer/Validations/SystemLoggerRenderer.php
/**
     * Renders the validations to some output, in that case as table to the console.
     *
     * @param array $validations The validations to render
     *
     * @return void
     */
Renders the validations to some output, in that case as table to the console.
@param array $validations The validations to render

@return void
Renders the validations to some output in that case as table to the console . @param array $validations The validations to render @return void
public function render(array $validations = array())
    {
        if (sizeof($validations) === 0) {
            return;
        }
        foreach ($this->getSystemLoggers() as $systemLogger) {
            $systemLogger->warning(sprintf('Found validation errors in import with serial "%s"', $this->getConfiguration()->getSerial()));
        }
    }
public function render ( array $ validations = array ( ) ) { if ( sizeof ( $ validations ) === 0 ) { return ; } foreach ( $ this -> getSystemLoggers ( ) as $ systemLogger ) { $ systemLogger -> warning ( sprintf ( 'Found validation errors in import with serial "%s"' , $ this -> getConfiguration ( ) -> getSerial ( ) ) ) ; } }
Renders the validations to some output, in that case as table to the console.
Renders the validations to some output in that case as table to the console .
// do nothing, if no validation error messages are available // log a message that we've found validation errors