Basic design created
This commit is contained in:
12
app/Scopes/CommonController.php
Normal file
12
app/Scopes/CommonController.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Scopes;
|
||||
|
||||
use App\Providers\AuthCheckProvider;
|
||||
|
||||
abstract class CommonController {
|
||||
protected function checkAuth() {
|
||||
$authCheckProvider = new AuthCheckProvider;
|
||||
return $authCheckProvider->checkLoggedIn();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user