This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dependencies moved to Factory classes
- Loading branch information
Showing
45 changed files
with
233 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
<?php | ||
declare(strict_types=1); | ||
|
||
use Psr\Http\Message\ServerRequestInterface; | ||
use Psr\Container\ContainerInterface; | ||
use Symfony\Component\HttpFoundation\Session\Session; | ||
use Selami\Router; | ||
use Selami\View\ViewInterface as SelamiView; | ||
use Twig_Environment as TwigEnvironment; | ||
use Selami\Foundation\App as SelamiApplication; | ||
use SelamiApp\Factories; | ||
return [ | ||
'dependencies' => [ | ||
'factories' => [ | ||
ServerRequestInterface::class => Factories\ServerRequestFactory::class, | ||
SelamiApplication::class => Factories\SelamiApplicationFactory::class, | ||
Session::class => Factories\SymfonySessionFactory::class, | ||
Router::class => Factories\RouterFactory::class, | ||
TwigEnvironment::class => Factories\TwigFactory::class, | ||
SelamiView::class => Factories\SelamiViewFactory::class | ||
], | ||
] | ||
]; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.