1 | <?php |
||
12 | abstract class TableConverter implements ITableConverter |
||
|
|||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @var Table |
||
17 | */ |
||
18 | private $table; |
||
19 | |||
20 | /** |
||
21 | * Constructor. |
||
22 | * |
||
23 | * @param Table $table |
||
24 | */ |
||
25 | 5 | public function __construct(Table $table) |
|
29 | |||
30 | /** |
||
31 | * Getter of $table |
||
32 | * |
||
33 | * @return Table |
||
34 | */ |
||
35 | 4 | public function getTable() |
|
39 | |||
40 | /** |
||
41 | * Setter of $table |
||
42 | * |
||
43 | * @param Table $table |
||
44 | */ |
||
45 | 5 | private function setTable(Table $table) |
|
49 | } |
||
50 |
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.