Skip to content

Commit b200505

Browse files
committed
refactored namespaces as aliases
Signed-off-by: MarioRadu <magda_marior@yahoo.com>
1 parent 6e9f2ca commit b200505

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Page/src/ConfigProvider.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
use Light\Page\Handler\WhoWeAreHandler;
1212
use Light\Page\Service\PageService;
1313
use Light\Page\Service\PageServiceInterface;
14+
use Light\App\RoutesDelegator as AppRoutesDelegator;
15+
use Light\Page\RoutesDelegator as PageRoutesDelegator;
1416
use Mezzio\Application;
1517

1618
class ConfigProvider
@@ -28,8 +30,8 @@ public function getDependencies(): array
2830
return [
2931
'delegators' => [
3032
Application::class => [
31-
\Light\App\RoutesDelegator::class,
32-
RoutesDelegator::class,
33+
AppRoutesDelegator::class,
34+
PageRoutesDelegator::class,
3335
],
3436
],
3537
'factories' => [

0 commit comments

Comments
 (0)