public function __construct(Injector $injector, CacheProvider $cache, Config $config, ResourceManager $resources) { $this->injector = $injector; $this->cache = $cache; $this->config = $config; $this->resources = $resources; }