1 | <?php |
||
16 | class CoreController implements CoreInterface, IAnnotatable |
||
17 | { |
||
18 | use Injector; |
||
19 | |||
20 | /** |
||
21 | * @var Session セッション |
||
22 | */ |
||
23 | protected $session; |
||
24 | |||
25 | /** |
||
26 | * @var Request リクエスト |
||
27 | */ |
||
28 | protected $request; |
||
29 | |||
30 | /** |
||
31 | * @var Response レスポンス |
||
32 | */ |
||
33 | private $response; |
||
|
|||
34 | |||
35 | /** |
||
36 | * @var CoreDelegator コアデリゲータ |
||
37 | */ |
||
38 | private $coreDelegator; |
||
39 | |||
40 | /** |
||
41 | * @var array<mixed> カスタムアノテーション |
||
42 | */ |
||
43 | protected $annotation; |
||
44 | |||
45 | /** |
||
46 | * @var LoggerAdapter ロガー |
||
47 | */ |
||
48 | protected $logger; |
||
49 | |||
50 | /** |
||
51 | * destructor |
||
52 | */ |
||
53 | public function __destruct() |
||
58 | |||
59 | /** |
||
60 | * 静的ファイルを読み込む |
||
61 | * @param string 静的ファイルパス |
||
62 | */ |
||
63 | final public function __callStaticFile($filepath) |
||
67 | |||
68 | /** |
||
69 | * {@inheritdoc} |
||
70 | */ |
||
71 | public function __customAnnotation(array $annotation) |
||
75 | |||
76 | /** |
||
77 | * {@inheritdoc} |
||
78 | * @Filter(type="initialize") |
||
79 | */ |
||
80 | public function __initialize(Container $container) |
||
86 | } |
||
87 |
This check marks private properties in classes that are never used. Those properties can be removed.