sfSymfonyCommandApplication manages the symfony CLI.
Method Summary
-
Boolean
autoloadTask($class)
Autoloads a task class
-
configure()
Configures the current symfony command application.
-
getLongVersion()
-
loadTasks($configuration)
Loads all available tasks.
-
integer
run($options = null)
Runs the current application.
configure , fixCgi , getAbbreviations , getFormatter , getLongVersion , getName , getOption , getTask , getTasks , getTaskToExecute , getVersion , handleOptions , help , isDryrun , isVerbose , registerTask , registerTasks , renderException , run , setName , setVersion , strlen , withTrace , __construct
Method Details
-
(Boolean) autoloadTask ($class)
Browse code
| $class |
The task class name
|
Autoloads a task class
-
Configures the current symfony command application.
-
-
loadTasks ($configuration)
Browse code
| $configuration |
The project configuration
|
Loads all available tasks.
Looks for tasks in the symfony core, the current project and all project plugins.
-
(integer) run ($options = null)
Browse code
| $options |
The command line options
|
Runs the current application.
returns 0 if everything went fine, or an error code
|