Webiny\Component\Storage\Driver\DriverInterface::deleteKey PHP Method

deleteKey() public method

Deletes the file
public deleteKey ( string $key ) : boolean
$key string
return boolean
    public function deleteKey($key);

Usage Example

Example #1
0
 /**
  * Deletes the file
  *
  * @param string $key
  *
  * @return bool
  */
 public function deleteKey($key)
 {
     return $this->driver->deleteKey($key);
 }