src/bundles/Auth/Handler.php
public static function create( $name = null, $conf = null ) 
	{
		if ( is_null( $name ) ) 
		{
			$name = static::$_default;
		}

		if ( !is_null( $conf ) && is_array( $conf ) )
		{
			return static::$_instances[$name] = new static( $name, $conf );
		}

		if ( !isset( static::$_instances[$name] ) )
		{
			static::$_instances[$name] = new static( $name );
		}

		return static::$_instances[$name];
	}
public static function create( $name = null, $conf = null ) 
	{
		if ( is_null( $name ) ) 
		{
			$name = static::$_default;
		}

		if ( !is_null( $conf ) && is_array( $conf ) )
		{
			return static::$_instances[$name] = new static( $name, $conf );
		}

		if ( !isset( static::$_instances[$name] ) )
		{
			static::$_instances[$name] = new static( $name );
		}

		return static::$_instances[$name];
	}
public static function create ( $ name = null , $ conf = null ) { if ( is_null ( $ name ) ) { $ name = static :: $ _default ; } if ( ! is_null ( $ conf ) && is_array ( $ conf ) ) { return static :: $ _instances [ $ name ] = new static ( $ name , $ conf ) ; } if ( ! isset ( static :: $ _instances [ $ name ] ) ) { static :: $ _instances [ $ name ] = new static ( $ name ) ; } return static :: $ _instances [ $ name ] ; }
Get an auth instance or create one

@param string			$name
@param array 			$conf	You can pass optionally a configuration directly. This will overwrite.
@return Auth_Handler
Get an auth instance or create one