-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOutputAstWalkerInterface.php
More file actions
45 lines (38 loc) · 1.04 KB
/
OutputAstWalkerInterface.php
File metadata and controls
45 lines (38 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
namespace Oro\Component\DoctrineUtils\ORM\Walker;
use Doctrine\ORM\AbstractQuery;
use Doctrine\ORM\Query\TreeWalker;
/**
* Doctrine AST walker that may be registered with DI tag and used by DecoratedSqlWalkerTrait.
* Should be used to only modify AST, returned result is not used.
*/
interface OutputAstWalkerInterface extends TreeWalker
{
public const HINT_AST_WALKERS = 'HINT_AST_WALKERS';
/**
* Gets the information about a single query component.
*
* @param string $dqlAlias The DQL alias.
*
* @return array
*/
public function getQueryComponent($dqlAlias);
/**
* Gets the Query instance used by the walker.
*
* @return AbstractQuery.
*/
public function getQuery();
/**
* Gets the Connection used by the walker.
*
* @return \Doctrine\DBAL\Connection
*/
public function getConnection();
/**
* Gets the EntityManager used by the walker.
*
* @return \Doctrine\ORM\EntityManager
*/
public function getEntityManager();
}