Skip to content

Add to each custom message in rules parameter for set processing type #745

@vjik

Description

@vjik

Default is Error::MESSAGE_TRANSLATE.

For example, Count rule:

public function __construct(
  // ...
  
  string $greaterThanMaxMessage = '{Property} must contain at most {max, number} {max, plural, one{item} other{items}}.',
  int $greaterThanMaxMessageProcessing = Error::MESSAGE_TRANSLATE,
  
  // ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions