Respect\Validation\Exceptions\NestedValidationException::setRelated PHP Method

setRelated() public method

public setRelated ( array $exceptions ) : self
$exceptions array
return self
    public function setRelated(array $exceptions)
    {
        foreach ($exceptions as $exception) {
            $this->addRelated($exception);
        }
        return $this;
    }