public static function load($className, $arguments = null, $singleton = null, $constructor = null)
    {
        return self::instantiate($className, $arguments, $constructor, $singleton);
    }
public static function load($className, $arguments = null, $singleton = null, $constructor = null)
    {
        return self::instantiate($className, $arguments, $constructor, $singleton);
    }
public static function load ( $ className , $ arguments = null , $ singleton = null , $ constructor = null ) { return self :: instantiate ( $ className , $ arguments , $ constructor , $ singleton ) ; }
Returns an instance of className passed.

@param string $className   Name of class to return instance of
@param array  $arguments   Arguments to pass
@param null   $singleton   Whether the class is singleton
@param null   $constructor Name of constructor method

@author Benjamin Carl <opensource@clickalicious.de>

@return object Instance created
Returns an instance of className passed .