| 1 | <?php namespace EmailLog\Core\UI\Page; |
||
| 10 | class AddonListPage extends BasePage { |
||
| 11 | /** |
||
| 12 | * Page slug. |
||
| 13 | */ |
||
| 14 | const PAGE_SLUG = 'email-log-addon-list'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Setup hooks. |
||
| 18 | */ |
||
| 19 | public function load() { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Register page. |
||
| 25 | * |
||
| 26 | * @inheritdoc |
||
| 27 | */ |
||
| 28 | public function register_page() { |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Render page. |
||
| 43 | */ |
||
| 44 | public function render_page() { |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Load page. |
||
| 56 | */ |
||
| 57 | public function load_page() { |
||
| 61 | } |
It is generally a best practice as it is often more readable to use concatenation instead of interpolation for variables inside strings.