| 1 | <?php |
||
| 14 | final class BaseUriPlugin implements Plugin |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var AddHostPlugin |
||
| 18 | */ |
||
| 19 | private $addHostPlugin; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var AddPathPlugin|null |
||
| 23 | */ |
||
| 24 | private $addPathPlugin = null; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param UriInterface $host |
||
| 28 | * @param array $hostConfig Config for AddHostPlugin. @see AddHostPlugin::configureOptions |
||
| 29 | */ |
||
| 30 | 5 | public function __construct(UriInterface $host, array $hostConfig = []) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
||
| 54 | } |
||
| 55 |