Files
nextcloud-docs/developer_manual/classes/appframework/dependencyinjection_dicontainer.rst
2013-01-26 16:31:08 +01:00

23 lines
488 B
ReStructuredText

DIContainer
===========
This class extends Pimple (http://pimple.sensiolabs.org/) for reusability
To use this class, extend your own container from this.
Should you require it
you can overwrite the dependencies with your own classes by simply redefining
a dependency
.. php:namespace:: OCA\AppFramework\DependencyInjection
.. php:class:: DIContainer
.. php:method:: __construct($appName)
:param string $appName: the name of the app
Put your class dependencies in here