public function deletePath($path = '', $public = true)
    {
        $path = $this->getStoragePath($path);

        return $this->_storage->delete($path, $public);
    }
public function deletePath($path = '', $public = true)
    {
        $path = $this->getStoragePath($path);

        return $this->_storage->delete($path, $public);
    }
public function deletePath ( $ path = '' , $ public = true ) { $ path = $ this -> getStoragePath ( $ path ) ; return $ this -> _storage -> delete ( $ path , $ public ) ; }
Delete an existing data with the path.

@param string $path   The relative path to delete the data from
@param bool   $public The storage mode. Can be public or private
Delete an existing data with the path .