<?php

namespace Articstudio\SlimInterfaces\Contracts;

use Slim\App as SlimApp;

interface RouteGroup {

    public function __invoke(SlimApp $app);
}

<?php

namespace Articstudio\SlimInterfaces\Contracts;

use Slim\App as SlimApp;

interface RouteGroup {

    public static function getPattern(): string;

    public function __invoke(SlimApp $app);
}

Fix Route Group interface. Added GetPattern method
Fix Route Group interface. Added GetPattern method