src/RouteCollectionBuilder.php
public function group($prefix, array $requirements = [], callable $groupConstructor = null)
    {
        $this->enterGroup($prefix, $requirements);

        if (null !== $groupConstructor) {
            call_user_func($groupConstructor, $this);
            $this->leaveGroup();
        }
    }
public function group($prefix, array $requirements = [], callable $groupConstructor = null)
    {
        $this->enterGroup($prefix, $requirements);

        if (null !== $groupConstructor) {
            call_user_func($groupConstructor, $this);
            $this->leaveGroup();
        }
    }
public function group ( $ prefix , array $ requirements = [ ] , callable $ groupConstructor = null ) { $ this -> enterGroup ( $ prefix , $ requirements ) ; if ( null !== $ groupConstructor ) { call_user_func ( $ groupConstructor , $ this ) ; $ this -> leaveGroup ( ) ; } }
Starts a new entry point for grouping routes.

@param string $prefix
@param array $requirements

@return void
Starts a new entry point for grouping routes .