Completed
Push — dev ( 459fc5...4267f3 )
by Marc
02:14
created

InstallController::install()   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 25
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 25
rs 8.8571
cc 1
eloc 1
nc 1
nop 0
1
<?php namespace Mascame\Artificer\Controllers;
2
3
use App;
4
5
class InstallController extends BaseController
6
{
7
    /**
8
     * Todo
9
     * @return $this
10
     */
11
    public function install()
12
    {
13
//        $this->modelObject = App::make('ArtificerModel');
14
//
15
//        try {
16
//            $user = \User::firstOrFail();
17
//
18
//            // We check if there are users
19
//            if ($user) {
20
//                App::abort(404);
21
//            }
22
//
23
//        } catch (\Exception $e) {
24
//            $this->shareMainViewData();
25
//
26
//            $user = new \User();
27
//            $user->role = 'admin';
28
//
29
//            \Auth::login($user);
30
//
31
//            return \View::make($this->getView('install'))
32
//                ->with('plugins', App::make('ArtificerPluginManager')->getAll());
33
////			dd('install process... here we will scan models, maybe help with config and first user setup');
34
//        }
35
    }
36
37
}