| 1 | <?php |
||
| 10 | class CompileRoutesCommand extends Command |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The name and signature of the console command. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $signature = 'dynamic-route:compile'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * The console command description. |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $description = 'Compiles all dynamic routes to a static file.'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * The route compiler |
||
| 28 | * |
||
| 29 | * @var RouteDeclarationCompiler |
||
| 30 | */ |
||
| 31 | protected $compiler; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Create a new command instance. |
||
| 35 | * |
||
| 36 | * @param RouteDeclarationCompiler $compiler |
||
| 37 | */ |
||
| 38 | public function __construct(RouteDeclarationCompiler $compiler) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Execute the console command. |
||
| 47 | * |
||
| 48 | * @return mixed |
||
| 49 | */ |
||
| 50 | public function handle() |
||
| 55 | } |