symfony API

sfCommandApplicationTask Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

Base class for tasks that depends on a sfCommandApplication object.

Inheritence

sfBaseTask, sfHelpTask, sfListTask  <  sfCommandApplicationTask  <  sfTask

Method Summary

  • log($messages)
  • logSection($section, $message, $size = null, $style = &apos;INFO&apos;)
  • setCommandApplication($commandApplication = null)
    Sets the command application instance for this task.

Methods inherited from sfTask

addArgument , addArguments , addOption , addOptions , ask , askConfirmation , configure , doRun , execute , getAliases , getArguments , getBriefDescription , getDetailedDescription , getFullName , getName , getNamespace , getOptions , getSynopsis , initialize , log , logBlock , logSection , process , run , runFromCLI , strlen , __construct

Method Details

  • log ($messages) Browse code

    $messages

  • logSection ($section, $message, $size = null, $style = 'INFO') Browse code

    $section
    $message
    $size
    $style

  • setCommandApplication ($commandApplication = null) Browse code

    $commandApplication A sfCommandApplication instance

    Sets the command application instance for this task.