| 1 | <?php |
||
| 15 | class XDynamicKey |
||
|
|
|||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @param array $fields array of fields |
||
| 19 | * @param string $refMethods string containing "path" to the ref field |
||
| 20 | * @return array |
||
| 21 | * |
||
| 22 | * @throws MethodNotFoundException |
||
| 23 | */ |
||
| 24 | public static function resolveRef($fields, $refMethods) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * prepares getter methods for every given field name |
||
| 51 | * |
||
| 52 | * @param string $refMethods string containing "path" to the ref field |
||
| 53 | * @return array |
||
| 54 | */ |
||
| 55 | private static function prepareFunctionNames($refMethods) |
||
| 66 | } |
||
| 67 |
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.