| 1 | <?php |
||
| 16 | class CoreService implements CoreInterface, IAnnotatable |
||
| 17 | { |
||
| 18 | use Injector; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var CoreDelegator コアデリゲータ |
||
| 22 | */ |
||
| 23 | private $coreDelegator; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var array<mixed> カスタムアノテーション |
||
| 27 | */ |
||
| 28 | protected $annotation; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var LoggerAdapter ロガー |
||
| 32 | */ |
||
| 33 | protected $logger; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function __destruct() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | * @Filter(type="initialize") |
||
| 47 | */ |
||
| 48 | public function __initialize(Container $container) |
||
| 54 | |||
| 55 | /** |
||
| 56 | * {@inheritdoc} |
||
| 57 | */ |
||
| 58 | public function __customAnnotation(array $annotation) |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Controllerから存在しないメソッドが呼ばれたときの処理 |
||
| 65 | * @param string メソッド名 |
||
| 66 | * @param array 引数の配列 |
||
| 67 | * @return 実行結果 |
||
| 68 | */ |
||
| 69 | final public function __call($method, $arguments) |
||
| 75 | } |
||
| 76 |