1 | <?php |
||
9 | abstract class TestHelper |
||
|
|||
10 | { |
||
11 | /** |
||
12 | * @var Test |
||
13 | */ |
||
14 | private $test; |
||
15 | |||
16 | /** |
||
17 | * Constructor. |
||
18 | * |
||
19 | * @param Test $test |
||
20 | */ |
||
21 | 22 | public function __construct(Test $test) |
|
25 | |||
26 | /** |
||
27 | * Getter of $test |
||
28 | * |
||
29 | * @return \Pumpkin\Test\Test |
||
30 | */ |
||
31 | 22 | public function getTest() |
|
35 | |||
36 | /** |
||
37 | * Setter of $test |
||
38 | * |
||
39 | * @param Test $test |
||
40 | */ |
||
41 | 22 | private function setTest(Test $test) |
|
45 | } |
||
46 |
This check examines a number of code elements and verifies that they conform to the given naming conventions.
You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.