/** * @param Bundle $bundle */ public function setBundle(Bundle $bundle) { $this->bundle = $bundle; $this->bundleName = $bundle->getName(); $this->bundleOwnerName = $bundle->getOwnerName(); $bundle->addActivity($this); }