1 | <?php |
||
23 | trait EntityListingMethods |
||
24 | { |
||
25 | |||
26 | use EntityBasedMethods; |
||
27 | |||
28 | /** |
||
29 | * @var int |
||
30 | */ |
||
31 | protected $rowsPerPage = 12; |
||
32 | |||
33 | /** |
||
34 | * @var Pagination |
||
35 | */ |
||
36 | protected $pagination; |
||
37 | |||
38 | /** |
||
39 | * @var EntityListingService |
||
40 | */ |
||
41 | protected $listingService; |
||
42 | |||
43 | /** |
||
44 | * @var string[] |
||
45 | */ |
||
46 | protected $searchFields; |
||
47 | |||
48 | /** |
||
49 | * @var string |
||
50 | */ |
||
51 | protected $order; |
||
52 | |||
53 | /** |
||
54 | * Handle the request to display a list of entities |
||
55 | */ |
||
56 | 2 | public function index() |
|
69 | |||
70 | /** |
||
71 | * Get pagination for roes per page property |
||
72 | * |
||
73 | * @return Pagination |
||
74 | */ |
||
75 | 4 | protected function getPagination() |
|
87 | |||
88 | /** |
||
89 | * Get the entity listing service |
||
90 | * |
||
91 | * @return EntityListingService |
||
92 | */ |
||
93 | 2 | protected function getListingService() |
|
102 | |||
103 | /** |
||
104 | * Get search filter |
||
105 | * |
||
106 | * @return SearchFilter |
||
107 | */ |
||
108 | 4 | protected function getSearchFilter() |
|
116 | |||
117 | /** |
||
118 | * Get the fields list to use on search filter |
||
119 | * |
||
120 | * @return array|\string[] |
||
121 | */ |
||
122 | 2 | protected function getSearchFields() |
|
133 | } |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.