1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace Tests\Controllers;
- use App\Http\Controllers\Controller;
- use App\Utils\PermissionChecker;
- class DummyAdminController extends Controller
- {
- public function index()
- {
- return $this->ok();
- }
- public function store()
- {
- return $this->created();
- }
- public function check()
- {
- PermissionChecker::check('check');
- return $this->ok();
- }
- public function withArgs()
- {
- return $this->ok();
- }
- public function passThrough()
- {
- return $this->ok();
- }
- }
|