public function remove($value, $strict = false)
    {
        while ($index = $this->search($value, $strict)) {
            $this->delete($index);
        }

        return $this;
    }
public function remove($value, $strict = false)
    {
        while ($index = $this->search($value, $strict)) {
            $this->delete($index);
        }

        return $this;
    }
public function remove ( $ value , $ strict = false ) { while ( $ index = $ this -> search ( $ value , $ strict ) ) { $ this -> delete ( $ index ) ; } return $ this ; }
Remove an element of the collection with its value

@param mixed $value
@param bool  $strict

@return $this
Remove an element of the collection with its value