public function invalidateResource($sourcePath, $version = null)
    {
        $this->cache->deleteItem($this->getResourceKey($sourcePath, $version));
    }
public function invalidateResource($sourcePath, $version = null)
    {
        $this->cache->deleteItem($this->getResourceKey($sourcePath, $version));
    }
public function invalidateResource ( $ sourcePath , $ version = null ) { $ this -> cache -> deleteItem ( $ this -> getResourceKey ( $ sourcePath , $ version ) ) ; }
Invalidates a cached resource

@param string $sourcePath
@param integer|null $version
Invalidates a cached resource