src/RouteGroup.php
private function setRequirements(array $requirements)
    {
        $requirements = $this->filterRequirements($requirements);

        $this->requirements = $this->hasParent() ?
            array_merge($this->parent->getRequirements(), $requirements) :
            $requirements;
    }
private function setRequirements(array $requirements)
    {
        $requirements = $this->filterRequirements($requirements);

        $this->requirements = $this->hasParent() ?
            array_merge($this->parent->getRequirements(), $requirements) :
            $requirements;
    }
private function setRequirements ( array $ requirements ) { $ requirements = $ this -> filterRequirements ( $ requirements ) ; $ this -> requirements = $ this -> hasParent ( ) ? array_merge ( $ this -> parent -> getRequirements ( ) , $ requirements ) : $ requirements ; }
Set the group requirements

@return void
Set the group requirements