Пример #1
0
 public function __construct(FormFactoryInterface $formFactory, RoleSpecificFormTypeInterface $formType, $domainManager, UserRoleInterface $userRole = null)
 {
     parent::__construct($formFactory, $formType, $domainManager);
     if ($userRole) {
         $this->setUserRole($userRole);
     }
 }
Пример #2
0
 /**
  * @inheritdoc
  *
  * Auto complete helper method
  *
  * @return LecturerManagerInterface
  */
 protected function getDomainManager()
 {
     return parent::getDomainManager();
 }