| 1 | <?php |
||
| 7 | class MakeViewCommand extends Command |
||
| 8 | { |
||
| 9 | protected $signature = 'laradeck:view {name} {--force}'; |
||
| 10 | |||
| 11 | protected $description = 'Make view'; |
||
| 12 | |||
| 13 | public function __construct() |
||
| 17 | |||
| 18 | public function handle() |
||
| 30 | |||
| 31 | protected function path(string $view): string |
||
| 43 | |||
| 44 | protected function content(): string |
||
| 50 | |||
| 51 | protected function create(string $path, string $content, bool $force) |
||
| 60 | } |
||
| 61 |