protected function logErrorsForDescriptor(FileDescriptor $fileDescriptor)
    {
        $errors = $fileDescriptor->getAllErrors();

        /** @var Error $error */
        foreach ($errors as $error) {
            $this->log($error->getCode(), $error->getSeverity(), $error->getContext());
        }
    }
protected function logErrorsForDescriptor(FileDescriptor $fileDescriptor)
    {
        $errors = $fileDescriptor->getAllErrors();

        /** @var Error $error */
        foreach ($errors as $error) {
            $this->log($error->getCode(), $error->getSeverity(), $error->getContext());
        }
    }
protected function logErrorsForDescriptor ( FileDescriptor $ fileDescriptor ) { $ errors = $ fileDescriptor -> getAllErrors ( ) ; /** @var Error $error */ foreach ( $ errors as $ error ) { $ this -> log ( $ error -> getCode ( ) , $ error -> getSeverity ( ) , $ error -> getContext ( ) ) ; } }
Writes the errors found in the Descriptor to the log.

@param FileDescriptor $fileDescriptor

@return void
Writes the errors found in the Descriptor to the log .