94 lines
2.4 KiB
YAML
94 lines
2.4 KiB
YAML
|
name: RouteCacheCommand
|
||
|
class_comment: null
|
||
|
dependencies:
|
||
|
- name: Command
|
||
|
type: class
|
||
|
source: Illuminate\Console\Command
|
||
|
- name: ConsoleKernelContract
|
||
|
type: class
|
||
|
source: Illuminate\Contracts\Console\Kernel
|
||
|
- name: Filesystem
|
||
|
type: class
|
||
|
source: Illuminate\Filesystem\Filesystem
|
||
|
- name: RouteCollection
|
||
|
type: class
|
||
|
source: Illuminate\Routing\RouteCollection
|
||
|
- name: AsCommand
|
||
|
type: class
|
||
|
source: Symfony\Component\Console\Attribute\AsCommand
|
||
|
properties:
|
||
|
- name: name
|
||
|
visibility: protected
|
||
|
comment: '# * The console command name.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var string'
|
||
|
- name: description
|
||
|
visibility: protected
|
||
|
comment: '# * The console command description.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var string'
|
||
|
- name: files
|
||
|
visibility: protected
|
||
|
comment: '# * The filesystem instance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @var \Illuminate\Filesystem\Filesystem'
|
||
|
methods:
|
||
|
- name: __construct
|
||
|
visibility: public
|
||
|
parameters:
|
||
|
- name: files
|
||
|
comment: "# * The console command name.\n# *\n# * @var string\n# */\n# protected\
|
||
|
\ $name = 'route:cache';\n# \n# /**\n# * The console command description.\n# *\n\
|
||
|
# * @var string\n# */\n# protected $description = 'Create a route cache file for\
|
||
|
\ faster route registration';\n# \n# /**\n# * The filesystem instance.\n# *\n\
|
||
|
# * @var \\Illuminate\\Filesystem\\Filesystem\n# */\n# protected $files;\n# \n\
|
||
|
# /**\n# * Create a new route command instance.\n# *\n# * @param \\Illuminate\\\
|
||
|
Filesystem\\Filesystem $files\n# * @return void"
|
||
|
- name: handle
|
||
|
visibility: public
|
||
|
parameters: []
|
||
|
comment: '# * Execute the console command.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return void'
|
||
|
- name: getFreshApplicationRoutes
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: '# * Boot a fresh copy of the application and get the routes.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return \Illuminate\Routing\RouteCollection'
|
||
|
- name: getFreshApplication
|
||
|
visibility: protected
|
||
|
parameters: []
|
||
|
comment: '# * Get a fresh application instance.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @return \Illuminate\Contracts\Foundation\Application'
|
||
|
- name: buildRouteCacheFile
|
||
|
visibility: protected
|
||
|
parameters:
|
||
|
- name: routes
|
||
|
comment: '# * Build the route cache file.
|
||
|
|
||
|
# *
|
||
|
|
||
|
# * @param \Illuminate\Routing\RouteCollection $routes
|
||
|
|
||
|
# * @return string'
|
||
|
traits:
|
||
|
- Illuminate\Console\Command
|
||
|
- Illuminate\Filesystem\Filesystem
|
||
|
- Illuminate\Routing\RouteCollection
|
||
|
- Symfony\Component\Console\Attribute\AsCommand
|
||
|
interfaces: []
|