public function __construct(RepositoryFactory $repositoryFactory, UserCurrent $user) { parent::__construct($repositoryFactory, $repositoryFactory->getMainQuestionRepository(), $user); }
public function __construct(RepositoryFactory $repositoryFactory, UserCurrent $user) { parent::__construct($repositoryFactory, $repositoryFactory->getRelAnswerRepository(), $user); }
public function __construct(RepositoryFactory $repositoryFactory, UserCurrent $user) { parent::__construct($repositoryFactory, $repositoryFactory->getCategoryRepository(), $user); $this->addSupportedMethod('GET', 'api_post'); }