common = new Common([ 'guard' => 'admins', 'model' => new \App\Models\Admin, ]); } public function login (Request $r) { return $this->common->login($r); } public function checkLogin () { return $this->common->checkLogin(); } public function logout () { return $this->common->logout(); } }