public function buildCacheAdapter($class, Configurator $configurator)
    {
        if (!class_exists($class) || !is_subclass_of($class, CacheAdapter::class)) {
            $class = "\\Phassets\\CacheAdapters\\$class";
        }

        if (class_exists($class) && is_subclass_of($class, CacheAdapter::class)) {
            return new $class($configurator);
        }

        return false;
    }