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

miaoxing / app / 6063773795

03 Sep 2023 09:49AM UTC coverage: 2.941% (-9.5%) from 12.414%
6063773795

push

github

twinh
ci: 更新依赖的版本

4 of 136 relevant lines covered (2.94%)

0.07 hits per line

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

0.0
/src/Service/JsConfig.php
1
<?php
2

3
namespace Miaoxing\App\Service;
4

5
use Miaoxing\Plugin\BaseService;
6

7
/**
8
 * @mixin \AppMixin
9
 */
10
class JsConfig extends BaseService
11
{
12
    /**
13
     * 替换页面的映射关系
14
     *
15
     * @var array
16
     */
17
    protected $pageMap = [];
18

19
    /**
20
     * 主题配置
21
     *
22
     * @var array
23
     */
24
    protected $theme = [];
25

26
    /**
27
     * @return array
28
     * @svc
29
     */
30
    protected function toArray()
31
    {
32
        return [
33
            'wei' => [
34
                'debug' => $this->wei->isDebug(),
×
35
            ],
36
            'app' => [
37
                'pluginIds' => $this->app->getModel()->pluginIds,
×
38
                'isDemo' => $this->app->isDemo(),
×
39
                // @experimental
40
                'pageMap' => $this->pageMap,
×
41
            ],
42
            // @experimental
43
            'theme' => $this->theme,
×
44
        ];
45
    }
46
}
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