Base class for all symfony tasks.
Inheritence
sfPropelBaseTask, sfCacheClearTask, sfGenerateTaskTask, sfGeneratorBaseTask, sfLogClearTask, sfLogRotateTask, sfConfigureAuthorTask, sfConfigureDatabaseTask, sfPluginBaseTask, sfProjectDeployTask, sfProjectPermissionsTask, sfProjectFreezeTask, sfProjectEnableTask, sfProjectClearControllersTask, sfUpgrade, sfProjectDisableTask, sfProjectUnfreezeTask, sfUpgradeTo11Task, sfI18nFindTask, sfI18nExtractTask <
sfBaseTask
<
sfCommandApplicationTask < sfTask
Method Summary
log , logSection , setCommandApplication
Methods inherited from sfTask
addArgument , addArguments , addOption , addOptions , configure , doRun , execute , getAliases , getArguments , getBriefDescription , getDetailedDescription , getFullName , getName , getNamespace , getOptions , getSynopsis , initialize , log , logSection , process , run , runFromCLI , __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
-
(true) checkProjectExists ()
Browse code
Checks if the current directory is a symfony project directory.
returns if the current directory is a symfony project directory, false otherwise
-
@see sfTask
-
(sfFilesystem) getFilesystem ()
Browse code
Returns the filesystem instance.
returns A sfFilesystem instance
|