Example #1
0
 /**
  * Controller constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->user_id = $this->session('twitter.me.id');
     $this->user_sn = $this->session('twitter.me.sn');
 }
Example #2
0
 /**
  * PagesController constructor.
  *
  * @param ShortURL $shorturl
  */
 public function __construct(ShortURL $shorturl)
 {
     parent::__construct();
     $this->shortURL = $shorturl;
 }
Example #3
0
 /**
  * Controller constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->admin = new Admin();
 }
Example #4
0
 /**
  * SiteMapsController constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->siteMap = new SiteMap(env('APP_URL', 'https://hkapps.hiroto-k.net'));
 }
Example #5
0
 /**
  * PasteBinsController constructor.
  *
  * @param PasteBin $pasteBin
  */
 public function __construct(PasteBin $pasteBin)
 {
     parent::__construct();
     $this->pasteBin = $pasteBin;
 }
Example #6
0
 /**
  * MemosController constructor.
  *
  * @param Memo $memo
  */
 public function __construct(Memo $memo)
 {
     parent::__construct();
     $this->memo = $memo;
 }