Storm\Drivers\Base\Object\Properties\Collections\Collection::offsetUnset PHP Method

offsetUnset() public method

public offsetUnset ( $Index )
    public function offsetUnset($Index)
    {
        if (!isset($this[$Index])) {
            return;
        }
        $this->IsAltered = true;
        $this->RemovedEntities[] = $this[$Index];
        return parent::offsetUnset($Index);
    }

Usage Example

Example #1
0
 public function offsetUnset($index)
 {
     $this->Load();
     return parent::offsetUnset($index);
 }