| 1 | <?php  | 
            ||
| 9 | class DelegateProxy  | 
            ||
| 10 | { | 
            ||
| 11 | /**  | 
            ||
| 12 | * @var DelegateInterface  | 
            ||
| 13 | */  | 
            ||
| 14 | private $adaptee;  | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * @param DelegateInterface $adaptee  | 
            ||
| 18 | */  | 
            ||
| 19 | 2 | public function __construct(DelegateInterface $adaptee)  | 
            |
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * Process the request using a delegate.  | 
            ||
| 26 | *  | 
            ||
| 27 | * @param RequestInterface $request  | 
            ||
| 28 | *  | 
            ||
| 29 | * @return ResponseInterface  | 
            ||
| 30 | */  | 
            ||
| 31 | 2 | public function __invoke(RequestInterface $request)  | 
            |
| 35 | }  | 
            ||
| 36 |