1 | <?php |
||
14 | class BuilderFactory implements FactoryInterface |
||
15 | { |
||
16 | /** @var DispatcherInterface */ |
||
17 | private $dispatcher; |
||
18 | |||
19 | /** @var RequestFactory */ |
||
20 | private $factory; |
||
21 | |||
22 | /** |
||
23 | * @return Builder|mixed |
||
24 | */ |
||
25 | public function create() |
||
34 | |||
35 | /** |
||
36 | * @param DispatcherInterface $dispatcher |
||
37 | */ |
||
38 | public function overwriteDispatcher(DispatcherInterface $dispatcher) |
||
42 | |||
43 | /** |
||
44 | * @param RequestFactory $factory |
||
45 | */ |
||
46 | public function overwriteRequestFactory(RequestFactory $factory) |
||
50 | |||
51 | /** |
||
52 | * @return Request |
||
53 | */ |
||
54 | protected function createRequestFromFactory() |
||
72 | } |
||
73 |