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

        if (null !== $groupConstructor) {
            call_user_func($groupConstructor, $this);
            $this->leaveGroup();
        }
    }