public static function build($engine = null, $namespace = '\Eureka\Component\Cache')
    {
        if (null === $engine) {
            $engine = static::engine();
        }

        if (empty(static::$instances[$engine])) {
            $class                 = $namespace . '\\' . 'CacheWrapper' . $engine;
            static::$instances[$engine] = new $class();
        }

        return static::$instances[$engine];
    }
public static function build($engine = null, $namespace = '\Eureka\Component\Cache')
    {
        if (null === $engine) {
            $engine = static::engine();
        }

        if (empty(static::$instances[$engine])) {
            $class                 = $namespace . '\\' . 'CacheWrapper' . $engine;
            static::$instances[$engine] = new $class();
        }

        return static::$instances[$engine];
    }
public static function build ( $ engine = null , $ namespace = '\Eureka\Component\Cache' ) { if ( null === $ engine ) { $ engine = static :: engine ( ) ; } if ( empty ( static :: $ instances [ $ engine ] ) ) { $ class = $ namespace . '\\' . 'CacheWrapper' . $ engine ; static :: $ instances [ $ engine ] = new $ class ( ) ; } return static :: $ instances [ $ engine ] ; }
Instantiate Cache Wrapper object & return it.

@param string $engine Class name of the engine to use.
@param string $namespace
@return CacheWrapperAbstract
Instantiate Cache Wrapper object & return it .