| 1 | <?php |
||
| 10 | class DeleteRedundantAddonsTask extends BuildTask |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * {@inheritDoc} |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $title = 'Delete Redundant Add-ons'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritDoc} |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $description = 'Deletes packages removed from Packagist'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritDoc} |
||
| 26 | * @param SS_HTTPRequest $request |
||
| 27 | */ |
||
| 28 | public function run($request) |
||
| 55 | } |
||
| 56 |
If you implement
__calland you know which methods are available, you can improve IDE auto-completion and static analysis by adding a @method annotation to the class.This is often the case, when
__callis implemented by a parent class and only the child class knows which methods exist: