Rotates an application log files.
Method Summary
-
configure()
@see sfTask
-
execute()
@see sfTask
-
rotate($app, $env, $period, $history, $override)
Rotates log file.
Methods inherited from sfBaseTask
checkAppExists , checkModuleExists , checkProjectExists , doRun , getFilesystem
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
-
@see sfTask
-
@see sfTask
-
rotate ($app, $env, $period, $history, $override)
Browse code
| $app |
Application name |
| $env |
Enviroment name |
| $period |
Period |
| $history |
History |
| $override |
Override |
Rotates log file.
|