1 | <?php |
||
32 | class ClearCompiledCommand extends Command |
||
33 | { |
||
34 | /** @var SmartyFactory */ |
||
35 | protected $smartyFactory; |
||
36 | |||
37 | /** |
||
38 | * @param SmartyFactory $smartyFactory |
||
39 | */ |
||
40 | public function __construct(SmartyFactory $smartyFactory) |
||
45 | |||
46 | /** |
||
47 | * The console command name. |
||
48 | * |
||
49 | * @var string |
||
50 | */ |
||
51 | protected $name = 'ytake:smarty-clear-compiled'; |
||
52 | |||
53 | /** |
||
54 | * The console command description. |
||
55 | * |
||
56 | * @var string |
||
57 | */ |
||
58 | protected $description = 'Remove the compiled Smarty files.'; |
||
59 | |||
60 | /** |
||
61 | * Execute the console command. |
||
62 | * |
||
63 | * @return int |
||
64 | */ |
||
65 | public function handle() |
||
77 | |||
78 | /** |
||
79 | * Get the console command options. |
||
80 | * |
||
81 | * @return array |
||
82 | */ |
||
83 | protected function getOptions() |
||
90 | } |
||
91 |