You are here

function xautoload_Container_MagicGet::__construct in X Autoload 7.3

Parameters

object $container: An object with a __get() method.

string $key: Key to be passed to the __get() method as an argument.

File

lib/Container/MagicGet.php, line 21

Class

xautoload_Container_MagicGet

Code

function __construct($container, $key) {
  $this->container = $container;
  $this->key = $key;
}