Example #1
0
 public function __construct($lrs)
 {
     parent::__construct();
     $this->lrs = $lrs;
     $this->has_lrs = true;
 }
 public function __construct()
 {
     parent::__construct();
     $this->user = \Auth::user();
     //we might want to pass user in, for example when use the API
 }