symfony API

sfDoctrineCli 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.

Method Summary

  • notify($notification = null, $style = 'HEADER')
    Notify the dispatcher of a message. We silent the messages from the Doctrine cli.
  • notifyException((Doctrine_Exception) $exception)
    Notify symfony of an exception thrown by the Doctrine cli
  • setDispatcher($dispatcher)
    Set the dispatcher of the cli instance
  • setFormatter($formatter)
    Set the formatter to use for the cli

Method Details

  • notify ($notification = null, $style = 'HEADER') Browse code

    $notification
    $style

    Notify the dispatcher of a message. We silent the messages from the Doctrine cli.

  • notifyException ((Doctrine_Exception) $exception) Browse code

    $exception

    Notify symfony of an exception thrown by the Doctrine cli

    throws sfException

  • setDispatcher ($dispatcher) Browse code

    $dispatcher

    Set the dispatcher of the cli instance

  • setFormatter ($formatter) Browse code

    $formatter

    Set the formatter to use for the cli