symfony API

sfSymfonyCommandApplication Class

« Back to API menu

action

addon

autoload

cache

command

config

controller

creole

database

debug

exception

filter

form

generator

helper

i18n

log

plugin

propel

request

response

routing

storage

task

test

user

util

validator

view

widget

You are currently browsing the symfony documentation for the 1.1 version. Switch to:

sfSymfonyCommandApplication manages the symfony CLI.

Inheritence

sfSymfonyCommandApplication  <  sfCommandApplication

Method Summary

  • configure()
    Configures the current symfony command application.
  • run($options = null)
    Runs the current application.
  • loadTasks($configuration)
    Loads all available tasks.
  • getLongVersion()

Methods inherited from sfCommandApplication

fixCgi , getTasks , __construct , setName , withTrace , getFormatter , setVersion , getVersion , getName , isDryrun , strlen , registerTask , configure , run , getAbbreviations , getTaskToExecute , registerTasks , getTask , isVerbose , getOption , renderException , help , handleOptions , getLongVersion

Method Details

  • configure ()

    Configures the current symfony command application.

  • run ($options = null)

    $options The command line options

    Runs the current application.

  • loadTasks ($configuration)

    $configuration The project configuration

    Loads all available tasks.

    Looks for tasks in the symfony core, the current project and all project plugins.

  • getLongVersion ()