Manager/FactoryManager.php
static public function get($apiManager, $name)
	{
		if(!array_key_exists($name,self::$managerMap)){
            throw new \InvalidArgumentException('Error in Factory Manager. This manager ['.$name.']is not supported');
        }
        $className = self::$managerMap[$name];
        return self::factory($apiManager, $className);
	}
static public function get($apiManager, $name)
	{
		if(!array_key_exists($name,self::$managerMap)){
            throw new \InvalidArgumentException('Error in Factory Manager. This manager ['.$name.']is not supported');
        }
        $className = self::$managerMap[$name];
        return self::factory($apiManager, $className);
	}
static public function get ( $ apiManager , $ name ) { if ( ! array_key_exists ( $ name , self :: $ managerMap ) ) { throw new \ InvalidArgumentException ( 'Error in Factory Manager. This manager [' . $ name . ']is not supported' ) ; } $ className = self :: $ managerMap [ $ name ] ; return self :: factory ( $ apiManager , $ className ) ; }
get or create manager
get or create manager