sfSymfonyCommandApplication manages the symfony CLI.
Method Summary
-
Boolean
autoloadTask($class)
Autoloads a task class
-
configure()
Configures the current symfony command application.
-
getLongVersion()
@see sfCommandApplication
-
loadTasks($configuration)
Loads all available tasks.
-
integer
run($options)
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.
-
@see sfCommandApplication
-
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)
Browse code
| $options |
The command line options |
Runs the current application.
returns 0 if everything went fine, or an error code
|