62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
YAML
name: CommandBuilder
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Application
|
|
type: class
|
|
source: Illuminate\Console\Application
|
|
- name: ProcessUtils
|
|
type: class
|
|
source: Illuminate\Support\ProcessUtils
|
|
properties: []
|
|
methods:
|
|
- name: buildCommand
|
|
visibility: public
|
|
parameters:
|
|
- name: event
|
|
comment: '# * Build the command for the given event.
|
|
|
|
# *
|
|
|
|
# * @param \Illuminate\Console\Scheduling\Event $event
|
|
|
|
# * @return string'
|
|
- name: buildForegroundCommand
|
|
visibility: protected
|
|
parameters:
|
|
- name: event
|
|
comment: '# * Build the command for running the event in the foreground.
|
|
|
|
# *
|
|
|
|
# * @param \Illuminate\Console\Scheduling\Event $event
|
|
|
|
# * @return string'
|
|
- name: buildBackgroundCommand
|
|
visibility: protected
|
|
parameters:
|
|
- name: event
|
|
comment: '# * Build the command for running the event in the background.
|
|
|
|
# *
|
|
|
|
# * @param \Illuminate\Console\Scheduling\Event $event
|
|
|
|
# * @return string'
|
|
- name: ensureCorrectUser
|
|
visibility: protected
|
|
parameters:
|
|
- name: event
|
|
- name: command
|
|
comment: '# * Finalize the event''s command syntax with the correct user.
|
|
|
|
# *
|
|
|
|
# * @param \Illuminate\Console\Scheduling\Event $event
|
|
|
|
# * @param string $command
|
|
|
|
# * @return string'
|
|
traits:
|
|
- Illuminate\Console\Application
|
|
- Illuminate\Support\ProcessUtils
|
|
interfaces: []
|