| Total Complexity | 5 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class ClearPasswordLogTask extends BuildTask |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $title = 'Foxy - Clear Password Log Task'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private static $segment = 'foxy-clear-password-log-task'; |
||
|
|
|||
| 23 | |||
| 24 | /** |
||
| 25 | * @param \SilverStripe\Control\HTTPRequest $request |
||
| 26 | */ |
||
| 27 | public function run($request) |
||
| 28 | { |
||
| 29 | $this->resetLog(); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * |
||
| 34 | */ |
||
| 35 | protected function resetLog() |
||
| 39 | } |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @return \Generator |
||
| 44 | */ |
||
| 45 | protected function getLogs() |
||
| 52 |