Skip to content
Snippets Groups Projects
Commit 6e1946ab authored by Thomas Müller's avatar Thomas Müller
Browse files

Introducing IContainer into public api

parent 93194bb3
No related branches found
No related tags found
No related merge requests found
<?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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment