• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

miaoxing / plugin / 3766633246

pending completion
3766633246

push

github

twinh
feat(plugin): `BasePage` 增加 `pageInit` 事件

0 of 1 new or added line in 1 file covered. (0.0%)

84 existing lines in 24 files now uncovered.

902 of 2275 relevant lines covered (39.65%)

19.29 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/BasePage.php
1
<?php
2

3
namespace Miaoxing\Plugin;
4

5
use Wei\BaseController;
6

7
/**
8
 * @mixin \EventMixin
9
 */
10
abstract class BasePage extends BaseController
11
{
12
    /**
13
     * Initialize the page, can be used to register middleware
14
     */
15
    public function init()
16
    {
NEW
17
        $this->event->trigger('pageInit', [$this]);
×
18
    }
19
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc