addReference($this); $target->addReference($this); $this->_source = $source; $this->_target = $target; $this->_description = $description; $this->_created = new \DateTime("now"); } public function source() { return $this->_source; } public function target() { return $this->_target; } public function setDescription($desc) { $this->_description = $desc; } public function getDescription() { return $this->_description; } }