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

miaoxing / plugin / 6057194056

02 Sep 2023 07:53AM UTC coverage: 39.283% (+0.2%) from 39.08%
6057194056

push

github

semantic-release-bot
chore(release): publish

See CHANGELOG.md for more details.

920 of 2342 relevant lines covered (39.28%)

18.04 hits per line

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

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

3
namespace Miaoxing\Plugin;
4

5
use Wei\RetTrait;
6

7
/**
8
 * @mixin \UserMixin
9
 * @mixin \AppMixin
10
 * @mixin \SessionMixin
11
 * @mixin \ViewMixin
12
 * @mixin \LoggerMixin
13
 * @mixin \PluginMixin
14
 * @mixin \RetMixin
15
 * @mixin \EventMixin
16
 * @property bool $controllerAuth
17
 * @property array $actionAuths
18
 */
19
abstract class BaseController extends \Wei\BaseController
20
{
21
    use HandleRetTrait;
22
    use RetTrait;
23

24
    /**
25
     * Initialize the controller, can be used to register middleware
26
     */
27
    public function init()
28
    {
29
        $this->event->trigger('controllerInit', [$this]);
×
30
    }
31
}
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