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