ConfigInterface::getActionsForEvent()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php
2
3
namespace uuf6429\ElderBrother\Config;
4
5
use Psr\Log\LoggerInterface;
6
use uuf6429\ElderBrother\Action\ActionAbstract;
7
8
interface ConfigInterface
9
{
10
    /**
11
     * @param string          $fileName
12
     * @param LoggerInterface $logger
13
     */
14
    public function loadFromFile($fileName, LoggerInterface $logger);
15
16
    /**
17
     * @param array $array
18
     * @param LoggerInterface $logger
19
     */
20
    public function loadFromArray($array, LoggerInterface $logger);
21
22
    /**
23
     * @return array<string, ActionAbstract[]>
0 ignored issues
show
Documentation introduced by
The doc-type array<string, could not be parsed: Expected ">" at position 5, but found "end of type". (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
24
     */
25
    public function getAllEventActions();
26
27
    /**
28
     * @param string $event
29
     * @param bool   $supportedOnly
30
     *
31
     * @return ActionAbstract[]
32
     */
33
    public function getActionsForEvent($event, $supportedOnly = true);
34
}
35