Overtrue\Validation\Validator::addCustomAttributes PHP Method

addCustomAttributes() public method

Add custom attributes to the validator.
public addCustomAttributes ( array $customAttributes )
$customAttributes array
    public function addCustomAttributes(array $customAttributes)
    {
        $this->customAttributes = array_merge($this->customAttributes, $customAttributes);
        return $this;
    }
Validator