Example #1
0
 /**
  * PublicController constructor.
  *
  * @param DepartmentRepository $department
  * @param EmployeeRepository   $employee
  * @param FileRepository       $file
  */
 public function __construct(DepartmentRepository $department, EmployeeRepository $employee, FileRepository $file)
 {
     parent::__construct();
     $this->department = $department;
     $this->employee = $employee;
     $this->file = $file;
 }
Example #2
0
 /**
  * @param Authentication $auth
  * @param EntryRepository $entry
  * @param UserRepository $user
  */
 public function __construct(Authentication $auth, EntryRepository $entry, UserRepository $user)
 {
     parent::__construct();
     $this->auth = $auth;
     $this->entry = $entry;
     $this->user = $user;
 }
Example #3
0
 /**
  * PublicController constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->file = app('Modules\\Media\\Repositories\\FileRepository');
     $this->user = app('Modules\\User\\Repositories\\UserRepository')->find($this->auth->id());
     if ($this->user) {
         $this->employee = $this->user->employee();
         $this->member = $this->user->member();
     }
 }
Example #4
0
 /**
  * PublicController constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->file = app('Modules\\Media\\Repositories\\FileRepository');
     $this->user = app('Modules\\User\\Repositories\\UserRepository')->find($this->auth->id());
     if ($this->user) {
         $this->employee = $this->user->employee();
         $this->member = $this->user->member();
     }
     $this->lastUpdated = Input::has('lastUpdated') ? date("Y-m-d H:i:s", strtotime(Input::get('lastUpdated'))) : '0000-00-00 00:00:00';
 }
Example #5
0
 public function __construct(ModuleRepository $moduleRepository, CategoryRepository $categoryRepository)
 {
     parent::__construct();
     $this->moduleRepository = $moduleRepository;
     $this->categoryRepository = $categoryRepository;
 }
Example #6
0
 public function __construct()
 {
     parent::__construct();
 }
Example #7
0
 public function __construct(PostRepository $post)
 {
     parent::__construct();
     $this->post = $post;
 }
 public function __construct(ThreadRepository $thread, MessageRepository $message)
 {
     parent::__construct();
     $this->_thread = $thread;
     $this->_message = $message;
 }
Example #9
0
 public function __construct(EntryRepository $entry, GithubService $githubService)
 {
     parent::__construct();
     $this->entry = $entry;
     $this->githubService = $githubService;
 }
Example #10
0
 public function __construct(NewsRepository $news, Application $app)
 {
     parent::__construct();
     $this->news = $news;
     $this->app = $app;
 }
Example #11
0
 public function __construct(TestimonialRepository $testimonial)
 {
     parent::__construct();
     $this->testimonial = $testimonial;
 }
Example #12
0
 /**
  * @param CompanyRepository $company
  * @param MemberRepository  $member
  */
 public function __construct(CompanyRepository $company, MemberRepository $member)
 {
     parent::__construct();
     $this->company = $company;
     $this->member = $member;
 }
Example #13
0
 public function __construct(PageRepository $page, Application $app)
 {
     parent::__construct();
     $this->page = $page;
     $this->app = $app;
 }
Example #14
0
 /**
  * @param FaqRepository $faq
  */
 public function __construct(FaqRepository $faq)
 {
     parent::__construct();
     $this->faq = $faq;
 }