1 | <?php |
||
12 | class TemplateInstall extends Command |
||
13 | { |
||
14 | protected $signature = 'template:install' . |
||
15 | '{--auth : Update Auth views}' . |
||
16 | '{--home : Update Home view}'; |
||
17 | |||
18 | |||
19 | protected $description = 'Install template package'; |
||
20 | |||
21 | protected $authViews = [ |
||
22 | 'views/auth/login.blade.php' => '@extends(\'template::lte.login\')', |
||
23 | 'views/auth/register.blade.php' => '@extends(\'template::lte.register\')', |
||
24 | 'views/auth/verify.blade.php' => '@extends(\'template::lte.verify\')', |
||
25 | 'views/auth/passwords/confirm.blade.php' => '@extends(\'template::lte.passwords.confirm\')', |
||
26 | 'views/auth/passwords/email.blade.php' => '@extends(\'template::lte.passwords.email\')', |
||
27 | 'views/auth/passwords/reset.blade.php' => '@extends(\'template::lte.passwords.reset\')', |
||
28 | ]; |
||
29 | |||
30 | protected $homeView = 'views/home.blade.php'; |
||
31 | |||
32 | public function __construct() |
||
36 | |||
37 | public function handle() |
||
46 | |||
47 | protected function exportHomeView() |
||
64 | |||
65 | protected function exportAuthViews() |
||
82 | } |
||
83 |