Jarves\Storage\AbstractStorage::remove PHP Method

remove() abstract public method

abstract public remove ( array $pk )
$pk array
    public abstract function remove($pk);

Usage Example

Example #1
0
 /**
  * {@inheritDoc}
  */
 public function remove($primaryKey)
 {
     $this->mapPrimaryKey($primaryKey);
     parent::remove($primaryKey);
     $path = $this->webFilesystem->getPath($primaryKey['id']);
     return $this->webFilesystem->remove($path);
 }