| 1 | <?php |
||
| 19 | class Wordlift_Batch_Analysis_Page extends Wordlift_Admin_Page { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * The {@link Wordlift_Batch_analysis_Service} instance. |
||
| 23 | * |
||
| 24 | * @since 3.14.0 |
||
| 25 | * |
||
| 26 | * @var \Wordlift_Batch_Analysis_Service $batch_analysis_service The {@link Wordlift_Batch_analysis_Service} instance. |
||
| 27 | */ |
||
| 28 | public $batch_analysis_service; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * The {@link Wordlift_Batch_Analysis_page} instance. |
||
| 32 | * |
||
| 33 | * @since 3.14.0 |
||
| 34 | * |
||
| 35 | * @param \Wordlift_Batch_Analysis_Service $batch_analysis_service The {@link Wordlift_Batch_analysis_Service} instance. |
||
| 36 | */ |
||
| 37 | public function __construct( $batch_analysis_service ) { |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @inheritdoc |
||
| 45 | */ |
||
| 46 | function get_parent_slug() { |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @inheritdoc |
||
| 53 | */ |
||
| 54 | function get_capability() { |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @inheritdoc |
||
| 61 | */ |
||
| 62 | function get_page_title() { |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @inheritdoc |
||
| 69 | */ |
||
| 70 | function get_menu_title() { |
||
| 74 | |||
| 75 | /** |
||
| 76 | * @inheritdoc |
||
| 77 | */ |
||
| 78 | function get_menu_slug() { |
||
| 82 | |||
| 83 | /** |
||
| 84 | * @inheritdoc |
||
| 85 | */ |
||
| 86 | function get_partial_name() { |
||
| 90 | |||
| 91 | } |
||
| 92 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.