Base class for all symfony tasks.
Inheritence
sfDoctrineBaseTask, sfPropelBaseTask, sfAppRoutesTask, sfCacheClearTask, sfConfigureAuthorTask, sfConfigureDatabaseTask, sfGenerateTaskTask, sfI18nExtractTask, sfI18nFindTask, sfLogClearTask, sfLogRotateTask, sfPluginBaseTask, sfProjectClearControllersTask, sfProjectDeployTask, sfProjectDisableTask, sfProjectEnableTask, sfProjectFreezeTask, sfProjectPermissionsTask, sfProjectUnfreezeTask, sfUpgrade, sfUpgradeTo11Task, sfUpgradeTo12Task <
sfBaseTask
<
sfCommandApplicationTask < sfTask
Method Summary
log , logSection , setCommandApplication
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
-
(bool) checkAppExists ($app)
Browse code
| $app |
The application name
|
Checks if an application exists.
returns true if the application exists, false otherwise
-
(bool) checkModuleExists ($app, $module)
Browse code
| $app |
The application name
|
| $module |
The module name
|
Checks if a module exists.
returns true if the module exists, false otherwise
-
Checks if the current directory is a symfony project directory.
returns if the current directory is a symfony project directory, false otherwise
-
createConfiguration ($application, $env)
Browse code
| $application |
The application name
|
| $env |
The environment name
|
Creates a configuration object.
returns A sfProjectConfiguration instance
-
doRun ($commandManager, $options)
Browse code
-
Returns the filesystem instance.
returns A sfFilesystem instance
-
(string) getFirstApplication ()
Browse code
Returns the first application in apps.
returns The Application name
|