CoreFiles by mySites.guru
ContainerAwareInterface.php32 lines, 654 bytes, from Joomla_3.2.3-Stable-Full_Package.zip
Raw History Compare with 3.2.2
md5
59b4e588b854b742ae46d0691a50bc5f
sha1
2ff369181f5192f468ef4b9e81651afa5da38717
sha256
e312bb2f23e7376b6609870a2c1dbc4ac2ac020b5174b8c7a18debaf2d8b1fe1
<?php
/**
 * Part of the Joomla Framework DI Package
 *
 * @copyright  Copyright (C) 2013 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\DI;

interface ContainerAwareInterface
{
	/**
	 * Get the DI container.
	 *
	 * @return  Container
	 *
	 * @since   1.0
	 *
	 * @throws  \UnexpectedValueException May be thrown if the container has not been set.
	 */
	public function getContainer();

	/**
	 * Set the DI container.
	 *
	 * @param   Container  $container  The DI container.
	 *
	 * @since   1.0
	 */
	public function setContainer(Container $container);
}

The same content is in 15 releases, Joomla 3.2.0 to 3.3.6. See them all, or every version of this file.