Overtrue\Validation\Validator::setAttributeNames PHP Méthode

setAttributeNames() public méthode

Set the custom attributes on the validator.
public setAttributeNames ( array $attributes )
$attributes array
    public function setAttributeNames(array $attributes)
    {
        $this->customAttributes = $attributes;
        return $this;
    }
Validator