1 | <?php |
||
15 | class ModuleOptions extends AbstractOptions |
||
16 | { |
||
17 | /** |
||
18 | * Массив настроек таблиц |
||
19 | * @var array |
||
20 | */ |
||
21 | protected $grids; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $doctrineEntityManager; |
||
|
|||
27 | |||
28 | /** |
||
29 | * Возвращает массив настроек таблиц |
||
30 | * @return array |
||
31 | */ |
||
32 | public function getGrids() |
||
36 | |||
37 | /** |
||
38 | * Устанавливает настроики таблиц |
||
39 | * @param array $grids |
||
40 | * @return $this |
||
41 | */ |
||
42 | public function setGrids($grids) |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getDoctrineEntityManager() |
||
55 | |||
56 | /** |
||
57 | * @param string $doctrineEntityManager |
||
58 | * @return $this |
||
59 | */ |
||
60 | public function setDoctrineEntityManager($doctrineEntityManager) |
||
65 | } |
||
66 |
Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.