src/Loops/Element.php
public function detach() {
        if($this->__parent) {
            $this->__parent->offsetUnset($this->__name);
        }

        $this->__parent = NULL;
        $this->__name = NULL;
        return $this;
    }
public function detach() {
        if($this->__parent) {
            $this->__parent->offsetUnset($this->__name);
        }

        $this->__parent = NULL;
        $this->__name = NULL;
        return $this;
    }
public function detach ( ) { if ( $ this -> __parent ) { $ this -> __parent -> offsetUnset ( $ this -> __name ) ; } $ this -> __parent = NULL ; $ this -> __name = NULL ; return $ this ; }
Reset the internal caching mechanism of the parent element and name.
This may be needed if you want to assign the element on a different object.

@return Loops\Element Returns $this for method chaining.
Reset the internal caching mechanism of the parent element and name . This may be needed if you want to assign the element on a different object .