| 1 | <?php |
||
| 7 | class Contact extends ResourceElement |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @return string |
||
| 11 | */ |
||
| 12 | public function getClassName() |
||
| 13 | { |
||
| 14 | } |
||
| 15 | |||
| 16 | /** |
||
| 17 | * ID will appear in routes: |
||
| 18 | * - http://example.com/admin/{name}/list |
||
| 19 | * - http://example.com/admin/{name}/edit |
||
| 20 | * etc. |
||
| 21 | * |
||
| 22 | * @return string |
||
| 23 | */ |
||
| 24 | public function getId() |
||
| 25 | { |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Name is a simple string that can be translated. |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function getName() |
||
| 34 | { |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function getKey() |
||
| 41 | { |
||
| 42 | } |
||
| 43 | } |
||
| 44 |