1 | <?php |
||
12 | abstract class ScopeProcessor implements IScopeProcessor |
||
13 | { |
||
14 | /** |
||
15 | * @var Queries\IScope |
||
16 | */ |
||
17 | protected $scope; |
||
18 | |||
19 | public function __construct(Queries\IScope $scope) |
||
23 | |||
24 | public function buildScope() |
||
28 | |||
29 | /** |
||
30 | * @param Queries\ISourceInfo $sourceInfo |
||
31 | * |
||
32 | * @return Queries\ISourceInfo |
||
33 | */ |
||
34 | protected function processSourceInfo(Queries\ISourceInfo $sourceInfo) |
||
38 | |||
39 | /** |
||
40 | * @param Queries\ISegment[] $segments |
||
41 | * |
||
42 | * @return Queries\ISegment[] |
||
43 | */ |
||
44 | protected function processSegments(array $segments) |
||
48 | } |
||
49 |