コード例 #1
0
ファイル: RoleHandlerAbstract.php プロジェクト: viettut/todo
 public function __construct(FormFactoryInterface $formFactory, RoleSpecificFormTypeInterface $formType, $domainManager, UserRoleInterface $userRole = null)
 {
     parent::__construct($formFactory, $formType, $domainManager);
     if ($userRole) {
         $this->setUserRole($userRole);
     }
 }
コード例 #2
0
ファイル: UserHandler.php プロジェクト: viettut/todo
 /**
  * @inheritdoc
  *
  * Auto complete helper method
  *
  * @return LecturerManagerInterface
  */
 protected function getDomainManager()
 {
     return parent::getDomainManager();
 }