public function remove($value) {
        $oldCollection = $this->getArrayCopy();
        if (!in_array($value, $oldCollection))
            return $this;

        $newCollection = array();
        foreach ($oldCollection as $val) {
            if ($val === $value)
                continue;

            $newCollection[] = $val;
        }
        $this->exchangeArray($newCollection);
        return $this;
    }
public function remove($value) {
        $oldCollection = $this->getArrayCopy();
        if (!in_array($value, $oldCollection))
            return $this;

        $newCollection = array();
        foreach ($oldCollection as $val) {
            if ($val === $value)
                continue;

            $newCollection[] = $val;
        }
        $this->exchangeArray($newCollection);
        return $this;
    }
public function remove ( $ value ) { $ oldCollection = $ this -> getArrayCopy ( ) ; if ( ! in_array ( $ value , $ oldCollection ) ) return $ this ; $ newCollection = array ( ) ; foreach ( $ oldCollection as $ val ) { if ( $ val === $ value ) continue ; $ newCollection [ ] = $ val ; } $ this -> exchangeArray ( $ newCollection ) ; return $ this ; }
Removes a value from the array collection
@param mixed $value
@return \DBScribe\ArrayCollection
Removes a value from the array collection