Total Complexity | 5 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
15 | class FlowManager |
||
16 | { |
||
17 | protected $flows = []; |
||
18 | /** |
||
19 | * @var ResponseTypeManager |
||
20 | */ |
||
21 | private $responseTypeManager; |
||
22 | /** |
||
23 | * @var GrantTypeManager |
||
24 | */ |
||
25 | private $grantTypeManager; |
||
26 | |||
27 | public function __construct(ResponseTypeManager $responseTypeManager, GrantTypeManager $grantTypeManager) |
||
31 | } |
||
32 | |||
33 | public function addFlow(string $identifier, FlowInterface $flow): self |
||
46 | } |
||
47 | |||
48 | public function getFlow(string $identifier): ?FlowInterface |
||
51 | } |
||
52 | } |