Introducing IContainer into public api

This commit is contained in:
Thomas Müller 2013-08-20 17:22:33 +02:00
parent 93194bb396
commit 6e1946ab00
1 changed files with 19 additions and 0 deletions

View File

@ -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);
}