public function executeEditrole($eventData) { $role = new \Innomatic\Domain\User\Role((int) $eventData['id']); $role->setName($eventData['name'])->setTitle($eventData['name'])->setDescription($eventData['description'])->store(); }