-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Add symfony service dependency injection container (#378)
* [TASK] Add symfony service container * [TASK] Simplify command name configuration * [TASK] Sort packages in composer.json * Pass console parameters via config Co-authored-by: Simon Schaufelberger <[email protected]>
- Loading branch information
1 parent
878a18c
commit 6f532c8
Showing
44 changed files
with
1,414 additions
and
688 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ vendor/ | |
sphpdox.phar | ||
_Output/ | ||
Documentation/.doctrees | ||
var/ |
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
parameters: | ||
name: 'TYPO3 Surf' | ||
version: '3.0.0-alpha' | ||
|
||
services: | ||
_defaults: | ||
autowire: true | ||
autoconfigure: true | ||
public: true | ||
bind: | ||
$name: '%name%' | ||
$version: '%version%' | ||
TYPO3\Surf\: | ||
resource: '../src/*' | ||
exclude: '../src/{Cli,Application,Exception,Domain/Model,DeprecationMessageFactory.php,Exception.php,functions.php}' | ||
Symfony\Component\Console\Output\OutputInterface: | ||
factory: ['@TYPO3\Surf\Cli\Symfony\ConsoleOutputFactory', 'createOutput'] | ||
Psr\Log\LoggerInterface: | ||
factory: ['@TYPO3\Surf\Cli\Symfony\Logger\LoggerFactory', 'createLogger'] | ||
TYPO3\Surf\Integration\Factory: | ||
arguments: ['@TYPO3\Surf\Domain\Filesystem\FilesystemInterface', '@Psr\Log\LoggerInterface'] | ||
TYPO3\Surf\Integration\FactoryInterface: '@TYPO3\Surf\Integration\Factory' | ||
GuzzleHttp\Client: ~ | ||
GuzzleHttp\ClientInterface: '@GuzzleHttp\Client' | ||
TYPO3\Surf\Cli\Symfony\Logger\ConsoleHandler: ~ | ||
TYPO3\Surf\Cli\Symfony\ConsoleApplication: ~ | ||
Symfony\Component\Console\Application: ~ | ||
TYPO3\Surf\Domain\Model\SimpleWorkflow: | ||
shared: false | ||
TYPO3\Surf\Cli\Symfony\ConsoleOutputFactory: ~ | ||
TYPO3\Surf\Cli\Symfony\Logger\LoggerFactory: ~ |
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
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.