src/ConcurrentPhpUtils/ObjectStorage.php
public function removeAll(self $storage)
    {
        foreach ($this->data as $key => $value) {
            foreach ($storage->data as $object) {
                if ($object === $value) {
                    unset($this->data[$key]);
                    unset($this->info[$key]);
                }
            }
        }
    }
public function removeAll(self $storage)
    {
        foreach ($this->data as $key => $value) {
            foreach ($storage->data as $object) {
                if ($object === $value) {
                    unset($this->data[$key]);
                    unset($this->info[$key]);
                }
            }
        }
    }
public function removeAll ( self $ storage ) { foreach ( $ this -> data as $ key => $ value ) { foreach ( $ storage -> data as $ object ) { if ( $ object === $ value ) { unset ( $ this -> data [ $ key ] ) ; unset ( $ this -> info [ $ key ] ) ; } } } }
Removes objects contained in another storage from the current storage

@param ObjectStorage $storage
@return void
Removes objects contained in another storage from the current storage