13 lines
251 B
PHP
13 lines
251 B
PHP
<?php
|
|
|
|
namespace App\Scopes;
|
|
|
|
use App\Providers\AuthCheckProvider;
|
|
|
|
abstract class CommonController {
|
|
protected function checkAuth() {
|
|
$authCheckProvider = new AuthCheckProvider;
|
|
return $authCheckProvider->checkLoggedIn();
|
|
}
|
|
}
|