Factory/AbstractCachedFactory.php
private function load($objectName, $datas)
	{
		if(!$this->initialized)
		{
			$this->initialize();
			$this->initialized = true;
		}
		$this->bag[$objectName] = $this->doLoad(isset($datas) ? $datas : $objectName);
	}
private function load($objectName, $datas)
	{
		if(!$this->initialized)
		{
			$this->initialize();
			$this->initialized = true;
		}
		$this->bag[$objectName] = $this->doLoad(isset($datas) ? $datas : $objectName);
	}
private function load ( $ objectName , $ datas ) { if ( ! $ this -> initialized ) { $ this -> initialize ( ) ; $ this -> initialized = true ; } $ this -> bag [ $ objectName ] = $ this -> doLoad ( isset ( $ datas ) ? $ datas : $ objectName ) ; }
Initialise factory
construct new object instance and store it in bag

@param string $objectName
@param mixed $datas
Initialise factory construct new object instance and store it in bag