2015-09-17 23:11:18 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Aviat\Ion\Di;
|
|
|
|
|
2015-10-09 22:29:59 -04:00
|
|
|
/**
|
|
|
|
* Interface for the Dependency Injection Container
|
|
|
|
*/
|
2015-09-17 23:11:18 -04:00
|
|
|
interface ContainerInterface extends \Interop\Container\ContainerInterface {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Add a value to the container
|
|
|
|
*
|
|
|
|
* @param string $key
|
|
|
|
* @param mixed $value
|
|
|
|
* @return ContainerInterface
|
|
|
|
*/
|
|
|
|
public function set($key, $value);
|
|
|
|
}
|