src/TrackableTrait.php
public function destroy()
    {
        if (
            isset($this->owner) &&
            $this->owner->_containerTrait
        ) {
            $this->owner->removeElement($this->short_name);
        }
    }
public function destroy()
    {
        if (
            isset($this->owner) &&
            $this->owner->_containerTrait
        ) {
            $this->owner->removeElement($this->short_name);
        }
    }
public function destroy ( ) { if ( isset ( $ this -> owner ) && $ this -> owner -> _containerTrait ) { $ this -> owner -> removeElement ( $ this -> short_name ) ; } }
Removes object from parent, so that PHP's Garbage Collector can
dispose of it.
Removes object from parent so that PHP s Garbage Collector can dispose of it .