This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bridge
Nicolas Grekas 736f0d0d93 feature #23624 [FrameworkBundle] Commands as a service (ro0NL)
This PR was squashed before being merged into the 3.4 branch (closes #23624).

Discussion
----------

[FrameworkBundle] Commands as a service

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes/no
| Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->

Next step towards #23488

It's a work in progress if we want to do all commands at once (im fine :)). But i think we should review `assets:install` first.

Also im assuming framework commands can rely on `getApplication()->getKernel()` from the framework application (we already do that in some commands). That saves a dep on `@kernel`.

And filesystem as a service; perhaps drop that as well :)

Commits
-------

de1dc0b [FrameworkBundle] Commands as a service
2017-08-06 12:29:14 +02:00
..
Doctrine minor #23766 Consistently use 7 chars of sha256 for hash-based id generation (nicolas-grekas) 2017-08-03 14:04:31 +02:00
Monolog Merge branch '3.3' into 3.4 2017-08-03 11:34:20 +02:00
PhpUnit Merge branch '3.3' into 3.4 2017-06-12 18:03:21 +02:00
ProxyManager Merge branch '3.3' into 3.4 2017-08-03 14:15:07 +02:00
Twig feature #23624 [FrameworkBundle] Commands as a service (ro0NL) 2017-08-06 12:29:14 +02:00