HummingBirdAnimeClient/src/Aviat/Ion/Di/ContainerAwareInterface.php

36 lines
639 B
PHP
Raw Normal View History

2015-09-17 23:11:18 -04:00
<?php
2015-11-16 11:40:01 -05:00
/**
* Ion
*
* Building blocks for web development
*
* @package Ion
* @author Timothy J. Warren
* @copyright Copyright (c) 2015 - 2016
2015-11-16 11:40:01 -05:00
* @license MIT
*/
2015-09-17 23:11:18 -04:00
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