Overtrue\Validation\Validator::setAttributeNames PHP Method

setAttributeNames() public method

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