InjectionAwareInterface.php 415 Bytes
<?php 

namespace Phalcon\DI {

	/**
	 * Phalcon\DI\InjectionAwareInterface initializer
	 */
	
	interface InjectionAwareInterface {

		/**
		 * Sets the dependency injector
		 *
		 * @param \Phalcon\DiInterface $dependencyInjector
		 */
		public function setDI($dependencyInjector);


		/**
		 * Returns the internal dependency injector
		 *
		 * @return \Phalcon\DiInterface
		 */
		public function getDI();

	}
}