/** * Clone the page */ public function __clone() { if (!$this->pageId) { return; } $this->pageId = null; $this->name = null; $this->parent = null; parent::__clone(); }
/** * Clone the container * * @return void */ public function __clone() { if (!$this->containerId) { return; } $this->containerId = null; parent::__clone(); }