basecom / wrapper-bundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
Adds some default shortcuts for container and commands
2.4.0
2014-01-03 09:21 UTC
Requires
- symfony/symfony: >=2.3,<3.0
This package is auto-updated.
Last update: 2024-07-27 20:42:19 UTC
README
License informations: LGPL
This bundle provides some shortcuts to default services/methods of a container:
- getDoctrine(...)
- getManager(...)
- getContainer()
- setContainer(...)
- get(...)
To use the wrapper for a default, container wearing class, you just have to extend this clas from our wrapper:
class MyNewContainerWearingClass extends \basecom\WrapperBundle\ContainerAware\ContainerAware { // cool stuff here }
The same applies to a command:
class MyNewCommand extends \basecom\WrapperBundle\ContainerAware\ContainerAwareCommand { // cool stuff here }