nextcloud/lib/public/core/icontainer.php

20 lines
344 B
PHP
Raw Normal View History

2013-08-20 19:22:33 +04: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);
}