Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
PluginCache
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3declare(strict_types=1);
4
5namespace PeServer\App\Models\Cache;
6
7use PeServer\App\Models\Cache\PluginCacheCategory;
8use PeServer\App\Models\Cache\PluginCacheItem;
9
10class PluginCache
11{
12    /**
13     * 生成。
14     *
15     * @param PluginCacheCategory[] $categories プラグインカテゴリ一覧。
16     * @param PluginCacheItem[] $items プラグインアイテム一覧。
17     */
18    public function __construct(
19        public array $categories,
20        public array $items
21    ) {
22    }
23}