public function getSchemaErrorMessage()
    {
        $message = NULL;

        foreach ($this->lastSchemaErrors as $error) {
            $message .= sprintf(
                "[%s] %s\n", $error['property'], $error['message']
            );
        }

        if (!empty($message)) {
            $message = self::FAIL_JSON_SCHEMA_MESSAGE . $message;
        }

        return $message;
    }
public function getSchemaErrorMessage()
    {
        $message = NULL;

        foreach ($this->lastSchemaErrors as $error) {
            $message .= sprintf(
                "[%s] %s\n", $error['property'], $error['message']
            );
        }

        if (!empty($message)) {
            $message = self::FAIL_JSON_SCHEMA_MESSAGE . $message;
        }

        return $message;
    }
public function getSchemaErrorMessage ( ) { $ message = NULL ; foreach ( $ this -> lastSchemaErrors as $ error ) { $ message .= sprintf ( "[%s] %s\n" , $ error [ 'property' ] , $ error [ 'message' ] ) ; } if ( ! empty ( $ message ) ) { $ message = self :: FAIL_JSON_SCHEMA_MESSAGE . $ message ; } return $ message ; }
Returns the latest schema matching errors as a text message.
@return string
@see http://php.net/manual/en/function.json-last-error-msg.php
Returns the latest schema matching errors as a text message .