示例#1
0
 public function __construct(RepositoryFactory $repositoryFactory, UserCurrent $user)
 {
     parent::__construct($repositoryFactory, $repositoryFactory->getMainQuestionRepository(), $user);
 }
示例#2
0
 public function __construct(RepositoryFactory $repositoryFactory, UserCurrent $user)
 {
     parent::__construct($repositoryFactory, $repositoryFactory->getRelAnswerRepository(), $user);
 }
示例#3
0
 public function __construct(RepositoryFactory $repositoryFactory, UserCurrent $user)
 {
     parent::__construct($repositoryFactory, $repositoryFactory->getCategoryRepository(), $user);
     $this->addSupportedMethod('GET', 'api_post');
 }