src/Data/KeyValueStorage/ArrayStore.php
public function remove($id)
    {
        if (!$this->has($id)) {
            throw new NotFoundException(sprintf('%s not found in %s', $id, __CLASS__));
        }

        unset($this->objects[$id]);
    }
public function remove($id)
    {
        if (!$this->has($id)) {
            throw new NotFoundException(sprintf('%s not found in %s', $id, __CLASS__));
        }

        unset($this->objects[$id]);
    }
public function remove ( $ id ) { if ( ! $ this -> has ( $ id ) ) { throw new NotFoundException ( sprintf ( '%s not found in %s' , $ id , __CLASS__ ) ) ; } unset ( $ this -> objects [ $ id ] ) ; }
Remove an object.

@param string $id Identifier of the entry to look for.

@throws NotFoundException
Remove an object .