symfony API

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

Delete all generated model classes for models which no longer exist in your YAML schema

Inheritence

sfDoctrineCleanModelFilesTask  <  sfDoctrineBaseTask < sfBaseTask < sfCommandApplicationTask < sfTask

Method Summary

Methods inherited from sfDoctrineBaseTask

callDoctrineCli , canonicalizeModelDefinition , filterSchemaGlobals , getCliConfig , getDoctrineDatabases , prepareSchemaFile

Methods inherited from sfBaseTask

checkAppExists , checkModuleExists , checkProjectExists , createConfiguration , createTask , disablePlugin , doRun , enablePlugin , getFilesystem , getFirstApplication , getPluginManager , initializeAutoload , installDir , reloadAutoload , reloadTasks , replaceTokens , setConfiguration

Methods inherited from sfCommandApplicationTask

createTask , getMailer , getRouting , initializeMailer , initializeRouting , log , logSection , runTask , setCommandApplication

Methods inherited from sfTask

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

Method Details

  • configure ()

  • execute ()

    @see sfTask

  • (array) getFileModels ()

    Returns models that have class files.

  • (array) getYamlModels ()

    Returns models defined in YAML.

  • (array) getYamlSchema ()

    Returns the schema as defined in YAML.