diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-08-20 17:22:33 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-08-20 17:22:33 +0200 |
commit | 6e1946ab00cca760d555222df008ba92b0185eca (patch) | |
tree | e184ceee98353ee84e9b66ef52b9d024456a5df0 /lib/public | |
parent | 93194bb39617d4b11a0a84b8cd4caf0491155961 (diff) | |
download | nextcloud-server-6e1946ab00cca760d555222df008ba92b0185eca.tar.gz nextcloud-server-6e1946ab00cca760d555222df008ba92b0185eca.zip |
Introducing IContainer into public api
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/core/icontainer.php | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/public/core/icontainer.php b/lib/public/core/icontainer.php new file mode 100644 index 00000000000..a6c93abec67 --- /dev/null +++ b/lib/public/core/icontainer.php @@ -0,0 +1,19 @@ +<?php + +namespace OCP\Core; + +/** + * Class IContainer + * + * IContainer is the basic interface to be used for any internal dependency injection mechanism + * + * @package OCP\Core + */ +interface IContainer { + + function query($name); + + function registerParameter($name, $value); + + function registerService($name, \Closure $closure, $shared = true); +} |