| 1 | <?php |
||
| 15 | abstract class ModelAbstract extends Model |
||
|
|
|||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Sets the URL attribute with a URL to this object |
||
| 19 | * |
||
| 20 | * @param string $pageName |
||
| 21 | * @param Controller $controller |
||
| 22 | * @param array $params |
||
| 23 | * |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | public function setUrl($pageName, Controller $controller, array $params = array()): void |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param array $params |
||
| 35 | * |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | abstract protected function getModelUrlParams(array $params): array; |
||
| 39 | } |
||
| 40 |
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.