protected function setMessage($message, array $parameters = [])
    {
        $message = sprintf(
            "%s: %s.",
            (new \ReflectionClass($this))->getShortName(),
            $message
        );

        $parameters = array_map([$this->getDumper(), "dump"], $parameters);

        $this->message = call_user_func_array(
            "sprintf",
            array_merge([$message], $parameters)
        );
    }
protected function setMessage($message, array $parameters = [])
    {
        $message = sprintf(
            "%s: %s.",
            (new \ReflectionClass($this))->getShortName(),
            $message
        );

        $parameters = array_map([$this->getDumper(), "dump"], $parameters);

        $this->message = call_user_func_array(
            "sprintf",
            array_merge([$message], $parameters)
        );
    }
protected function setMessage ( $ message , array $ parameters = [ ] ) { $ message = sprintf ( "%s: %s." , ( new \ ReflectionClass ( $ this ) ) -> getShortName ( ) , $ message ) ; $ parameters = array_map ( [ $ this -> getDumper ( ) , "dump" ] , $ parameters ) ; $ this -> message = call_user_func_array ( "sprintf" , array_merge ( [ $ message ] , $ parameters ) ) ; }
Sets the error message.

@see Essence\Matchers\AbstractMatcher::$message
@param string $message
@param array $parameters
@return void
Sets the error message .