コード例 #1
0
ファイル: LoginController.php プロジェクト: adibhanna/agency
 public function __construct(SectionRepositoryInterface $sections, AuthenticatorInterface $auth, AdminRepositoryInterface $admin, AdminRegistrationNotifierInterface $notifier)
 {
     parent::__construct($sections);
     $this->auth = $auth;
     $this->admin = $admin;
     $this->notifier = $notifier;
 }
コード例 #2
0
 public function __construct(SectionRepositoryInterface $sections, SectionValidator $sectionValidator, PostRepositoryInterface $post)
 {
     parent::__construct($sections);
     $this->sectionValidator = $sectionValidator;
     $this->post = $post;
     $this->result = [];
     $this->section = $sections;
 }
コード例 #3
0
ファイル: AdminController.php プロジェクト: adibhanna/agency
 public function __construct(SectionRepositoryInterface $sections, AdminRepositoryInterface $admins, RoleRepositoryInterface $roles, AdminAuthorizerInterface $authorizer, AdminValidatorInterface $validator, AdminRegistrationNotifierInterface $notifier)
 {
     parent::__construct($sections);
     $this->admins = $admins;
     $this->roles = $roles;
     $this->authorizer = $authorizer;
     $this->validator = $validator;
     $this->notifier = $notifier;
 }
コード例 #4
0
ファイル: PostController.php プロジェクト: adibhanna/agency
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function __construct(SectionRepositoryInterface $sections, PostRepositoryInterface $post, ImageRepositoryInterface $image, ManagerInterface $manager, VideoRepositoryInterface $video, TagRepositoryInterface $tags, TagValidatorInterface $tagValidator, PostValidatorInterface $validator, StoreInterface $store, FilterResponseInterface $filter_response, ParserInterface $parser_interface, HelperInterface $helper)
 {
     parent::__construct($sections);
     $this->posts = $post;
     $this->manager = $manager;
     $this->images = $image;
     $this->videos = $video;
     $this->validator = $validator;
     $this->sections = $sections;
     $this->tags = $tags;
     $this->tagValidator = $tagValidator;
     $this->store = $store;
     $this->filter_response = $filter_response;
     $this->parser_interface = $parser_interface;
     $this->helper = $helper;
 }
コード例 #5
0
ファイル: TagController.php プロジェクト: adibhanna/agency
 public function __construct(SectionRepositoryInterface $sections, TagRepositoryInterface $tag)
 {
     parent::__construct($sections);
     $this->section = $sections;
     $this->tag = $tag;
 }
コード例 #6
0
 public function __construct(SectionRepositoryInterface $sections, SectionValidator $validator, HelperInterface $helper)
 {
     parent::__construct($sections);
     $this->validator = $validator;
     $this->helper = $helper;
 }
コード例 #7
0
 public function __construct(ApplicationRepositoryInterface $application, ApplicationValidator $validator, SectionRepositoryInterface $sections)
 {
     parent::__construct($sections);
     $this->application = $application;
     $this->validator = $validator;
 }
コード例 #8
0
 public function __construct(Sections $sections, Permissions $permissions, PermissionValidator $validator)
 {
     parent::__construct($sections);
     $this->permissions = $permissions;
     $this->validator = $validator;
 }
コード例 #9
0
ファイル: RoleController.php プロジェクト: adibhanna/agency
 public function __construct(Sections $sections, Roles $roles, RoleValidator $validator)
 {
     parent::__construct($sections);
     $this->roles = $roles;
     $this->validator = $validator;
 }