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

keyExists() public method

Checks whether the file exists
public keyExists ( string $key ) : boolean
$key string
return boolean
    public function keyExists($key);

Usage Example

Example #1
0
 /**
  * Indicates whether the key exists
  *
  * @param string $key
  *
  * @return bool
  */
 public function keyExists($key)
 {
     return $this->driver->keyExists($key);
 }