public function register(ICompanyService &$training) { $training->setMarketplace($this->getMarketPlaceType()); return parent::register($training); }