XeroPHP\Remote\Collection::remove PHP Method

remove() public method

Remove a specific object from the collection
public remove ( Object $object )
$object Object
    public function remove(Object $object)
    {
        foreach ($this as $index => $item) {
            if ($item === $object) {
                $this->removeAt($index);
            }
        }
    }