server/lib/public/core/icontainer.php

20 lines
344 B
PHP
Raw Normal View History

2013-08-20 15:22:33 +00:00
<?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);
}