Total Complexity | 3 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class GetQueryBuilderStep extends AbstractStep |
||
9 | { |
||
10 | /** |
||
11 | * @var Registry |
||
12 | */ |
||
13 | private $doctrine; |
||
14 | |||
15 | public function execute() |
||
16 | { |
||
17 | return $this->createResponse(['query_builder' => $this->doctrine->getManager()->createQueryBuilder()]); |
||
18 | } |
||
19 | |||
20 | public function setDoctrine(Registry $doctrine) |
||
23 | } |
||
24 | |||
25 | public function requiresBefore() |
||
30 | ]; |
||
31 | } |
||
32 | } |