| 1 | <?php |
||
| 17 | class TotoPlugin implements StatusAwarePluginInterface |
||
| 18 | { |
||
| 19 | /** @var Console */ |
||
| 20 | protected $console; |
||
| 21 | |||
| 22 | /** @var ManialinkFactory */ |
||
| 23 | protected $mlFactory; |
||
| 24 | |||
| 25 | /** @var Group */ |
||
| 26 | protected $playersGroup; |
||
| 27 | |||
| 28 | function __construct( |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Set the status of the plugin |
||
| 41 | * |
||
| 42 | * @param boolean $status |
||
| 43 | * |
||
| 44 | * @return null |
||
| 45 | */ |
||
| 46 | public function setStatus($status) |
||
| 54 | } |
||
| 55 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.