public function detach()
    {
        $this->calendar->getEvents()->removeEvent($this);
        $this->calendar = null;

        return $this;
    }
public function detach()
    {
        $this->calendar->getEvents()->removeEvent($this);
        $this->calendar = null;

        return $this;
    }
public function detach ( ) { $ this -> calendar -> getEvents ( ) -> removeEvent ( $ this ) ; $ this -> calendar = null ; return $ this ; }
Detach this event from the associated Calendar

@return $this
Detach this event from the associated Calendar