[FEATURE] Added support for parameters in group prefix.

This commit is contained in:
Simon Sessingø
2021-03-29 16:56:37 +02:00
parent d6bc713e5b
commit b05bbccc28
3 changed files with 46 additions and 12 deletions
@@ -6,14 +6,7 @@ use Pecee\Http\Request;
class RoutePartialGroup extends RouteGroup implements IPartialGroupRoute
{
/**
* RoutePartialGroup constructor.
*/
public function __construct()
{
$this->urlRegex = '/^%s\/?/u';
}
protected $urlRegex = '/^%s\/?/u';
/**
* Method called to check if route matches