| 1 | <?php  | 
            ||
| 8 | class Api  | 
            ||
| 9 | { | 
            ||
| 10 | private $endpoint;  | 
            ||
| 11 | |||
| 12 | private $handler;  | 
            ||
| 13 | |||
| 14 | private $authorization;  | 
            ||
| 15 | |||
| 16 | 27 | public function __construct(EndpointInterface $endpoint, ApiHandlerInterface $handler, ApiAuthorizationInterface $authorization)  | 
            |
| 22 | |||
| 23 | 24 | public function getEndpoint(): EndpointInterface  | 
            |
| 27 | |||
| 28 | 24 | public function getHandler(): ApiHandlerInterface  | 
            |
| 32 | |||
| 33 | 21 | public function getAuthorization(): ApiAuthorizationInterface  | 
            |
| 37 | }  | 
            ||
| 38 |