| 1 | <?php |
||
| 12 | class ApproveControlFactory implements IApproveControlFactory, LoggerAwareInterface |
||
| 13 | { |
||
| 14 | use LoggerAwareTrait; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var AuthorizationServer |
||
| 18 | */ |
||
| 19 | private $authorizationServer; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var Session |
||
| 23 | */ |
||
| 24 | private $session; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param AuthorizationServer $authorizationServer |
||
| 28 | * @param Session $session |
||
| 29 | */ |
||
| 30 | public function __construct(AuthorizationServer $authorizationServer, Session $session) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param AuthorizationRequest $authorizationRequest |
||
| 38 | * @return ApproveControl |
||
| 39 | */ |
||
| 40 | public function create(AuthorizationRequest $authorizationRequest): ApproveControl |
||
| 48 | } |
||
| 49 |