symfony API

sfDoctrineCli Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

Packages

You are currently browsing the symfony API for the 1.4 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.

sfDoctrineCli

Method Summary

  • false notify($notification, $style)
    Notify the dispatcher of a message. We silent the messages from the Doctrine cli.
  • void notifyException($exception)
    Notify symfony of an exception thrown by the Doctrine cli
  • void setSymfonyDispatcher($dispatcher)
    Set the symfony dispatcher of the cli instance
  • void setSymfonyFormatter($formatter)
    Set the symfony formatter to use for the cli

Method Details

  • (false) notify ($notification, $style)

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

  • (void) notifyException ($exception)

    Notify symfony of an exception thrown by the Doctrine cli

    throws sfException

  • (void) setSymfonyDispatcher ($dispatcher)

    Set the symfony dispatcher of the cli instance

  • (void) setSymfonyFormatter ($formatter)

    Set the symfony formatter to use for the cli