Gaufrette\Adapter\AzureBlobStorage::delete PHP Method

delete() public method

public delete ( $key )
    public function delete($key)
    {
        $this->init();
        try {
            $this->blobProxy->deleteBlob($this->containerName, $key);
            return true;
        } catch (ServiceException $e) {
            $this->failIfContainerNotFound($e, sprintf('delete key "%s"', $key));
            return false;
        }
    }