XeroPHP\Remote\Collection::removeAt PHP Method

removeAt() public method

Remove an item at a specific index
public removeAt ( $index )
$index
    public function removeAt($index)
    {
        if (isset($this[$index])) {
            foreach ($this->_associated_objects as $parent_property => $object) {
                /**
                 * @var Object $object
                 */
                $object->setDirty($parent_property);
            }
            unset($this[$index]);
        }
    }