arBaseTask
extends sfBaseTask
in package
AbstractYes
Table of Contents
Constants
- MAX_LINE_SIZE = 2048
Methods
- __construct() : mixed
- execute() : mixed
- Original arBaseTask::execute() creates sfContext and loads settings.
- getArguments() : array<string|int, mixed>
- getBriefDescription() : string
- getDetailedDescription() : string
- getFullName() : string
- getName() : string
- getNamespace() : string
- getOptions() : array<string|int, mixed>
- run() : int
- Run the task with parsed arguments and options.
Constants
MAX_LINE_SIZE
public
mixed
MAX_LINE_SIZE
= 2048
Methods
__construct()
public
__construct([mixed $dispatcher = null ][, mixed $formatter = null ]) : mixed
Parameters
- $dispatcher : mixed = null
- $formatter : mixed = null
execute()
Original arBaseTask::execute() creates sfContext and loads settings.
public
execute([mixed $arguments = [] ][, mixed $options = [] ]) : mixed
Our shim boots Laravel DB + sfConfig instead.
Parameters
- $arguments : mixed = []
- $options : mixed = []
getArguments()
public
getArguments() : array<string|int, mixed>
Return values
array<string|int, mixed>getBriefDescription()
public
getBriefDescription() : string
Return values
stringgetDetailedDescription()
public
getDetailedDescription() : string
Return values
stringgetFullName()
public
getFullName() : string
Return values
stringgetName()
public
getName() : string
Return values
stringgetNamespace()
public
getNamespace() : string
Return values
stringgetOptions()
public
getOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>run()
Run the task with parsed arguments and options.
public
run([array<string|int, mixed> $arguments = [] ][, array<string|int, mixed> $options = [] ]) : int
Called by TaskRunner after argument parsing.
Parameters
- $arguments : array<string|int, mixed> = []
- $options : array<string|int, mixed> = []