2015-09-17 23:11:18 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Aviat\Ion\Di;
|
|
|
|
|
2015-10-14 09:20:52 -04:00
|
|
|
/**
|
|
|
|
* Interface for a class that is aware of the Di Container
|
|
|
|
*/
|
2015-09-17 23:11:18 -04:00
|
|
|
interface ContainerAwareInterface {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the container for the current object
|
|
|
|
*
|
|
|
|
* @param ContainerInterface $container
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function setContainer(ContainerInterface $container);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the container object
|
|
|
|
*
|
|
|
|
* @return ContainerInterface
|
|
|
|
*/
|
|
|
|
public function getContainer();
|
|
|
|
|
|
|
|
}
|
2015-11-11 15:28:51 -05:00
|
|
|
// End of ContainerAwareInterface.php
|