1 | <?php |
||
23 | class QueryBuilderFacade |
||
24 | { |
||
25 | /** |
||
26 | * @var TableFactoryInterface |
||
27 | */ |
||
28 | private $tableFactory; |
||
29 | |||
30 | /** |
||
31 | * @var QueryCompilerInterface |
||
32 | */ |
||
33 | private $queryCompiler; |
||
34 | |||
35 | /** |
||
36 | * @var ConnectionInterface |
||
37 | */ |
||
38 | private $connection; |
||
39 | |||
40 | /** |
||
41 | * @param TableFactoryInterface $tableFactory |
||
42 | * @param QueryCompilerInterface $queryCompiler |
||
43 | * @param ConnectionInterface|null $connection |
||
44 | */ |
||
45 | public function __construct( |
||
54 | |||
55 | /** |
||
56 | * @param mixed $builder |
||
57 | * |
||
58 | * @return string |
||
59 | */ |
||
60 | public function buildSQL($builder) |
||
64 | |||
65 | /** |
||
66 | * @param string $compiledSQL |
||
67 | * @param array $parameters |
||
68 | * |
||
69 | * @return StatementInterface |
||
70 | */ |
||
71 | public function buildStatement($compiledSQL, array $parameters) |
||
75 | |||
76 | /** |
||
77 | * @param mixed $builder |
||
78 | * @param mixed $table |
||
79 | * |
||
80 | * @return AbstractTable |
||
81 | */ |
||
82 | public function createTable($builder, $table) |
||
86 | } |