1 | <?php |
||
12 | class UserAdminListConfigurator extends AbstractSettingsAdminListConfigurator |
||
13 | { |
||
14 | /** |
||
15 | * Build filters for admin list |
||
16 | */ |
||
17 | public function buildFilters() |
||
23 | |||
24 | /** |
||
25 | * Configure the visible columns |
||
26 | */ |
||
27 | public function buildFields() |
||
35 | |||
36 | /** |
||
37 | * Override path convention (because settings is a virtual admin subtree) |
||
38 | * |
||
39 | * @param string $suffix |
||
|
|||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | public function getPathByConvention($suffix = null) |
||
47 | |||
48 | /** |
||
49 | * Add item actions buttons |
||
50 | */ |
||
51 | public function buildItemActions() |
||
55 | |||
56 | public function canDelete($item) |
||
60 | |||
61 | /** |
||
62 | * Get entity name |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | public function getEntityName() |
||
70 | } |
||
71 |
This check looks for
@param
annotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.