public function delete(string $type = CacheEndpointInterface::DELETE_ALL): CacheEndpointInterface
    {
        $this->shopware()->delete('/api/caches/'.$type);

        return $this;
    }
public function delete(string $type = CacheEndpointInterface::DELETE_ALL): CacheEndpointInterface
    {
        $this->shopware()->delete('/api/caches/'.$type);

        return $this;
    }
public function delete ( string $ type = CacheEndpointInterface :: DELETE_ALL ) : CacheEndpointInterface { $ this -> shopware ( ) -> delete ( '/api/caches/' . $ type ) ; return $ this ; }
Delete cache.

@see \Enm\ShopwareSdk\Endpoint\Definition\CacheEndpointInterface::DELETE_ALL
@see \Enm\ShopwareSdk\Endpoint\Definition\CacheEndpointInterface::DELETE_HTTP
@see \Enm\ShopwareSdk\Endpoint\Definition\CacheEndpointInterface::DELETE_TEMPLATE

@param string $type

@return CacheEndpointInterface
Delete cache .