turnaev /
monitor-bundle
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * This file is part of the `tvi/monitor-bundle` project. |
||
| 5 | * |
||
| 6 | * (c) https://github.com/turnaev/monitor-bundle/graphs/contributors |
||
| 7 | * |
||
| 8 | * For the full copyright and license information, please view the LICENSE.md |
||
| 9 | * file that was distributed with this source code. |
||
| 10 | */ |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 11 | |||
| 12 | namespace Tvi\MonitorBundle\Check; |
||
| 13 | |||
| 14 | /** |
||
|
0 ignored issues
–
show
|
|||
| 15 | * @author Vladimir Turnaev <[email protected]> |
||
| 16 | */ |
||
|
0 ignored issues
–
show
|
|||
| 17 | interface CheckInterface |
||
| 18 | { |
||
| 19 | public function getId(): string; |
||
|
0 ignored issues
–
show
|
|||
| 20 | |||
| 21 | /** |
||
|
0 ignored issues
–
show
|
|||
| 22 | * @return $this |
||
| 23 | */ |
||
| 24 | public function setId(string $id); |
||
| 25 | |||
| 26 | /** |
||
|
0 ignored issues
–
show
|
|||
| 27 | * @return string[] |
||
| 28 | */ |
||
| 29 | public function getTags(): array; |
||
| 30 | |||
| 31 | /** |
||
|
0 ignored issues
–
show
|
|||
| 32 | * @param string[] $tags |
||
|
0 ignored issues
–
show
|
|||
| 33 | */ |
||
|
0 ignored issues
–
show
|
|||
| 34 | public function setTags(array $tags); |
||
| 35 | |||
| 36 | public function getGroup(): string; |
||
|
0 ignored issues
–
show
|
|||
| 37 | |||
| 38 | public function setGroup(string $group); |
||
|
0 ignored issues
–
show
|
|||
| 39 | |||
| 40 | public function setAdditionParams(array $data); |
||
|
0 ignored issues
–
show
|
|||
| 41 | |||
| 42 | /** |
||
|
0 ignored issues
–
show
|
|||
| 43 | * @return ?string |
||
| 44 | */ |
||
| 45 | public function getDescr(); |
||
| 46 | |||
| 47 | /** |
||
|
0 ignored issues
–
show
|
|||
| 48 | * @param ?null $descr |
||
|
0 ignored issues
–
show
|
|||
| 49 | */ |
||
|
0 ignored issues
–
show
|
|||
| 50 | public function setDescr(string $descr = null); |
||
| 51 | } |
||
| 52 |