public function __construct($property, $type = null, $linked = null) { parent::__construct($property); if ($type) { $this->setType($type); } if ($linked) { $this->setLinked($linked); } }