Source for file ContainerAwareInterface.php

Documentation is available at ContainerAwareInterface.php

  1. <?php
  2. /**
  3.  * Part of the Joomla Framework DI Package
  4.  *
  5.  * @copyright  Copyright (C) 2013 Open Source Matters, Inc. All rights reserved.
  6.  * @license    GNU General Public License version 2 or later; see LICENSE
  7.  */
  8.  
  9. namespace Joomla\DI;
  10.  
  11. {
  12.     /**
  13.      * Get the DI container.
  14.      *
  15.      * @return  Container 
  16.      *
  17.      * @since   1.0
  18.      *
  19.      * @throws  \UnexpectedValueException May be thrown if the container has not been set.
  20.      */
  21.     public function getContainer();
  22.  
  23.     /**
  24.      * Set the DI container.
  25.      *
  26.      * @param   Container  $container  The DI container.
  27.      *
  28.      * @since   1.0
  29.      */
  30.     public function setContainer(Container $container);
  31. }

Documentation generated on Tue, 19 Nov 2013 14:56:48 +0100 by phpDocumentor 1.4.3