src/UploadedFile.php
public function getErrorMessage()
    {
        if (array_key_exists($this->error, $this->errorMessages)) {

            return $this->errorMessages[$this->error];
        }

        return 'Unknow error';
    }
public function getErrorMessage()
    {
        if (array_key_exists($this->error, $this->errorMessages)) {

            return $this->errorMessages[$this->error];
        }

        return 'Unknow error';
    }
public function getErrorMessage ( ) { if ( array_key_exists ( $ this -> error , $ this -> errorMessages ) ) { return $ this -> errorMessages [ $ this -> error ] ; } return 'Unknow error' ; }
Gets the value of errorMessages.

@return mixed
Gets the value of errorMessages .