public function __clone() { $this->context = $this->context ? clone $this->context : $this->context; $this->type = $this->type ? clone $this->type : $this->type; }
/** * After a clone is called on this object, clone our * type and fqsen so that they survive copies intact * * @return void */ public function __clone() { parent::__clone(); $this->setFQSEN(clone $this->getFQSEN()); }