src/VerboseOrChain.php
public function setPostMessageTemplate($postMessage = null)
    {
        if (null !== $postMessage) {
            $postMessage = (string) $postMessage;
        }
        $this->abstractOptions['messageTemplates']
                              [self::POST_MESSAGE_TEMPLATE_KEY] = $postMessage;
        return $this;
    }
public function setPostMessageTemplate($postMessage = null)
    {
        if (null !== $postMessage) {
            $postMessage = (string) $postMessage;
        }
        $this->abstractOptions['messageTemplates']
                              [self::POST_MESSAGE_TEMPLATE_KEY] = $postMessage;
        return $this;
    }
public function setPostMessageTemplate ( $ postMessage = null ) { if ( null !== $ postMessage ) { $ postMessage = ( string ) $ postMessage ; } $ this -> abstractOptions [ 'messageTemplates' ] [ self :: POST_MESSAGE_TEMPLATE_KEY ] = $ postMessage ; return $ this ; }
Sets template of validation failure message to be inserted at end of
validation failure message map.

Use null to specify no message should be inserted.

@param string|null $postMessage
@return self
Sets template of validation failure message to be inserted at end of validation failure message map .