‪TYPO3CMS  9.5
Query.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
18 
22 class ‪Query implements ‪QueryInterface
23 {
27  const ‪JCR_JOIN_TYPE_INNER = '{http://www.jcp.org/jcr/1.0}joinTypeInner';
28 
32  const ‪JCR_JOIN_TYPE_LEFT_OUTER = '{http://www.jcp.org/jcr/1.0}joinTypeLeftOuter';
33 
37  const ‪JCR_JOIN_TYPE_RIGHT_OUTER = '{http://www.jcp.org/jcr/1.0}joinTypeRightOuter';
38 
42  const ‪CHARSET = 'utf-8';
43 
47  protected ‪$type;
48 
52  protected ‪$objectManager;
53 
57  protected ‪$dataMapFactory;
58 
63 
67  protected ‪$qomFactory;
68 
72  protected ‪$source;
73 
77  protected ‪$constraint;
78 
82  protected ‪$statement;
83 
87  protected ‪$orderings = [];
88 
92  protected ‪$limit;
93 
97  protected ‪$offset;
98 
104  protected ‪$querySettings;
105 
110  protected ‪$parentQuery;
111 
116  {
117  $this->objectManager = ‪$objectManager;
118  }
119 
123  public function ‪injectDataMapFactory(\‪TYPO3\CMS\‪Extbase\Persistence\Generic\Mapper\DataMapFactory ‪$dataMapFactory)
124  {
125  $this->dataMapFactory = ‪$dataMapFactory;
126  }
127 
132  {
133  $this->persistenceManager = ‪$persistenceManager;
134  }
135 
139  public function ‪injectQomFactory(\‪TYPO3\CMS\‪Extbase\Persistence\Generic\Qom\QueryObjectModelFactory ‪$qomFactory)
140  {
141  $this->qomFactory = ‪$qomFactory;
142  }
143 
149  public function ‪__construct(‪$type)
150  {
151  $this->type = ‪$type;
152  }
153 
158  public function ‪getParentQuery(): ?QueryInterface
159  {
160  return ‪$this->parentQuery;
161  }
162 
167  public function ‪setParentQuery(?QueryInterface ‪$parentQuery): void
168  {
169  $this->parentQuery = ‪$parentQuery;
170  }
171 
178  public function ‪setQuerySettings(QuerySettingsInterface ‪$querySettings)
179  {
180  $this->querySettings = ‪$querySettings;
181  }
182 
189  public function ‪getQuerySettings()
190  {
191  if (!$this->querySettings instanceof ‪QuerySettingsInterface) {
192  throw new \TYPO3\CMS\Extbase\Persistence\Generic\Exception('Tried to get the query settings without seting them before.', 1248689115);
193  }
195  }
196 
202  public function ‪getType()
203  {
204  return ‪$this->type;
205  }
206 
212  public function ‪setSource(\‪TYPO3\CMS\‪Extbase\Persistence\Generic\Qom\SourceInterface ‪$source)
213  {
214  $this->source = ‪$source;
215  }
216 
223  protected function ‪getSelectorName()
224  {
225  ‪$source = $this->‪getSource();
226  if (‪$source instanceof \‪TYPO3\CMS\‪Extbase\Persistence\Generic\Qom\SelectorInterface) {
227  return ‪$source->getSelectorName();
228  }
229  return '';
230  }
231 
237  public function ‪getSource()
238  {
239  if ($this->source === null) {
240  $this->source = $this->qomFactory->selector($this->‪getType(), $this->dataMapFactory->buildDataMap($this->getType())->getTableName());
241  }
242  return ‪$this->source;
243  }
244 
251  public function ‪execute($returnRawQueryResult = false)
252  {
253  if ($returnRawQueryResult) {
254  return $this->persistenceManager->getObjectDataByQuery($this);
255  }
256  return $this->objectManager->get(\‪TYPO3\CMS\‪Extbase\Persistence\QueryResultInterface::class, $this);
257  }
258 
270  public function ‪setOrderings(array ‪$orderings)
271  {
272  $this->orderings = ‪$orderings;
273  return $this;
274  }
275 
285  public function ‪getOrderings()
286  {
287  return ‪$this->orderings;
288  }
289 
298  public function ‪setLimit(‪$limit)
299  {
300  if (!is_int(‪$limit) || ‪$limit < 1) {
301  throw new \InvalidArgumentException('The limit must be an integer >= 1', 1245071870);
302  }
303  $this->limit = ‪$limit;
304  return $this;
305  }
306 
313  public function ‪unsetLimit()
314  {
315  unset($this->limit);
316  return $this;
317  }
318 
324  public function ‪getLimit()
325  {
326  return ‪$this->limit;
327  }
328 
337  public function ‪setOffset(‪$offset)
338  {
339  if (!is_int(‪$offset) || ‪$offset < 0) {
340  throw new \InvalidArgumentException('The offset must be a positive integer', 1245071872);
341  }
342  $this->offset = ‪$offset;
343  return $this;
344  }
345 
351  public function ‪getOffset()
352  {
353  return ‪$this->offset;
354  }
355 
363  public function ‪matching(‪$constraint)
364  {
365  $this->constraint = ‪$constraint;
366  return $this;
367  }
368 
377  public function ‪statement(‪$statement, array $parameters = [])
378  {
379  $this->‪statement = $this->qomFactory->statement(‪$statement, $parameters);
380  return $this;
381  }
382 
388  public function ‪getStatement()
389  {
390  return ‪$this->statement;
391  }
392 
398  public function ‪getConstraint()
399  {
400  return ‪$this->constraint;
401  }
402 
411  public function ‪logicalAnd($constraint1)
412  {
413  if (is_array($constraint1)) {
414  $resultingConstraint = array_shift($constraint1);
415  $constraints = $constraint1;
416  } else {
417  $constraints = func_get_args();
418  $resultingConstraint = array_shift($constraints);
419  }
420  if ($resultingConstraint === null) {
421  throw new \TYPO3\CMS\Extbase\Persistence\Generic\Exception\InvalidNumberOfConstraintsException('There must be at least one constraint or a non-empty array of constraints given.', 1268056288);
422  }
423  foreach ($constraints as ‪$constraint) {
424  $resultingConstraint = $this->qomFactory->_and($resultingConstraint, ‪$constraint);
425  }
426  return $resultingConstraint;
427  }
428 
436  public function ‪logicalOr($constraint1)
437  {
438  if (is_array($constraint1)) {
439  $resultingConstraint = array_shift($constraint1);
440  $constraints = $constraint1;
441  } else {
442  $constraints = func_get_args();
443  $resultingConstraint = array_shift($constraints);
444  }
445  if ($resultingConstraint === null) {
446  throw new \TYPO3\CMS\Extbase\Persistence\Generic\Exception\InvalidNumberOfConstraintsException('There must be at least one constraint or a non-empty array of constraints given.', 1268056289);
447  }
448  foreach ($constraints as ‪$constraint) {
449  $resultingConstraint = $this->qomFactory->_or($resultingConstraint, ‪$constraint);
450  }
451  return $resultingConstraint;
452  }
453 
461  public function ‪logicalNot(\‪TYPO3\CMS\‪Extbase\Persistence\Generic\Qom\‪ConstraintInterface ‪$constraint)
462  {
463  return $this->qomFactory->not(‪$constraint);
464  }
465 
474  public function ‪equals($propertyName, $operand, $caseSensitive = true)
475  {
476  if (is_object($operand) || $caseSensitive) {
477  $comparison = $this->qomFactory->comparison(
478  $this->qomFactory->propertyValue($propertyName, $this->getSelectorName()),
480  $operand
481  );
482  } else {
483  $comparison = $this->qomFactory->comparison(
484  $this->qomFactory->lowerCase($this->qomFactory->propertyValue($propertyName, $this->getSelectorName())),
486  mb_strtolower($operand, \‪TYPO3\CMS\‪Extbase\Persistence\Generic\‪Query::CHARSET)
487  );
488  }
489  return $comparison;
490  }
491 
499  public function ‪like($propertyName, $operand)
500  {
501  return $this->qomFactory->comparison(
502  $this->qomFactory->propertyValue($propertyName, $this->getSelectorName()),
504  $operand
505  );
506  }
507 
516  public function ‪contains($propertyName, $operand)
517  {
518  return $this->qomFactory->comparison($this->qomFactory->propertyValue($propertyName, $this->getSelectorName()), ‪QueryInterface::OPERATOR_CONTAINS, $operand);
519  }
520 
530  public function ‪in($propertyName, $operand)
531  {
532  if (!\‪TYPO3\CMS\‪Extbase\Utility\TypeHandlingUtility::isValidTypeForMultiValueComparison($operand)) {
533  throw new \TYPO3\CMS\Extbase\Persistence\Generic\Exception\UnexpectedTypeException('The "in" operator must be given a multivalued operand (array, ArrayAccess, Traversable).', 1264678095);
534  }
535  return $this->qomFactory->comparison($this->qomFactory->propertyValue($propertyName, $this->getSelectorName()), ‪QueryInterface::OPERATOR_IN, $operand);
536  }
537 
545  public function ‪lessThan($propertyName, $operand)
546  {
547  return $this->qomFactory->comparison($this->qomFactory->propertyValue($propertyName, $this->getSelectorName()), ‪QueryInterface::OPERATOR_LESS_THAN, $operand);
548  }
549 
557  public function ‪lessThanOrEqual($propertyName, $operand)
558  {
559  return $this->qomFactory->comparison($this->qomFactory->propertyValue($propertyName, $this->getSelectorName()), ‪QueryInterface::OPERATOR_LESS_THAN_OR_EQUAL_TO, $operand);
560  }
561 
569  public function ‪greaterThan($propertyName, $operand)
570  {
571  return $this->qomFactory->comparison($this->qomFactory->propertyValue($propertyName, $this->getSelectorName()), ‪QueryInterface::OPERATOR_GREATER_THAN, $operand);
572  }
573 
581  public function ‪greaterThanOrEqual($propertyName, $operand)
582  {
583  return $this->qomFactory->comparison($this->qomFactory->propertyValue($propertyName, $this->getSelectorName()), ‪QueryInterface::OPERATOR_GREATER_THAN_OR_EQUAL_TO, $operand);
584  }
585 
595  public function ‪between($propertyName, $operandLower, $operandUpper)
596  {
597  return $this->‪logicalAnd(
598  $this->‪greaterThanOrEqual($propertyName, $operandLower),
599  $this->‪lessThanOrEqual($propertyName, $operandUpper)
600  );
601  }
602 
606  public function ‪__wakeup()
607  {
608  $this->objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\‪TYPO3\CMS\‪Extbase\Object\ObjectManager::class);
609  $this->persistenceManager = $this->objectManager->get(\‪TYPO3\CMS\‪Extbase\Persistence\PersistenceManagerInterface::class);
610  $this->dataMapFactory = $this->objectManager->get(\‪TYPO3\CMS\‪Extbase\Persistence\Generic\Mapper\DataMapFactory::class);
611  $this->qomFactory = $this->objectManager->get(\‪TYPO3\CMS\‪Extbase\Persistence\Generic\Qom\QueryObjectModelFactory::class);
612  }
613 
618  public function ‪__sleep()
619  {
620  return ['type', 'source', 'constraint', 'statement', 'orderings', 'limit', 'offset', 'querySettings'];
621  }
622 
628  public function ‪count()
629  {
630  return $this->‪execute()->count();
631  }
632 
640  public function ‪isEmpty($propertyName)
641  {
642  throw new \TYPO3\CMS\Extbase\Persistence\Generic\Exception\NotImplementedException(__METHOD__, 1476122265);
643  }
644 }
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_LIKE
‪const OPERATOR_LIKE
Definition: QueryInterface.php:70
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\setOffset
‪QueryInterface setOffset($offset)
Definition: Query.php:324
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_GREATER_THAN_OR_EQUAL_TO
‪const OPERATOR_GREATER_THAN_OR_EQUAL_TO
Definition: QueryInterface.php:65
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\injectPersistenceManager
‪injectPersistenceManager(\TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface $persistenceManager)
Definition: Query.php:118
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\getStatement
‪TYPO3 CMS Extbase Persistence Generic Qom Statement getStatement()
Definition: Query.php:375
‪TYPO3\CMS\Extbase\Persistence\PersistenceManagerInterface
Definition: PersistenceManagerInterface.php:21
‪TYPO3\CMS\Extbase\Annotation
Definition: IgnoreValidation.php:4
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\in
‪TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface in($propertyName, $operand)
Definition: Query.php:517
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\setLimit
‪QueryInterface setLimit($limit)
Definition: Query.php:285
‪TYPO3\CMS\Extbase\Persistence\QueryInterface
Definition: QueryInterface.php:26
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$querySettings
‪QuerySettingsInterface $querySettings
Definition: Query.php:92
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\getOffset
‪int getOffset()
Definition: Query.php:338
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\getParentQuery
‪QueryInterface getParentQuery()
Definition: Query.php:145
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\lessThan
‪TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface lessThan($propertyName, $operand)
Definition: Query.php:532
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_GREATER_THAN
‪const OPERATOR_GREATER_THAN
Definition: QueryInterface.php:60
‪TYPO3
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$objectManager
‪TYPO3 CMS Extbase Object ObjectManagerInterface $objectManager
Definition: Query.php:50
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\like
‪TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface like($propertyName, $operand)
Definition: Query.php:486
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_IN
‪const OPERATOR_IN
Definition: QueryInterface.php:80
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\JCR_JOIN_TYPE_RIGHT_OUTER
‪const JCR_JOIN_TYPE_RIGHT_OUTER
Definition: Query.php:37
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\__sleep
‪array __sleep()
Definition: Query.php:605
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$persistenceManager
‪TYPO3 CMS Extbase Persistence PersistenceManagerInterface $persistenceManager
Definition: Query.php:58
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$offset
‪int $offset
Definition: Query.php:86
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\greaterThan
‪TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface greaterThan($propertyName, $operand)
Definition: Query.php:556
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\statement
‪QueryInterface statement($statement, array $parameters=[])
Definition: Query.php:364
‪TYPO3\CMS\Extbase\Object\ObjectManagerInterface
Definition: ObjectManagerInterface.php:23
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_LESS_THAN_OR_EQUAL_TO
‪const OPERATOR_LESS_THAN_OR_EQUAL_TO
Definition: QueryInterface.php:55
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\setParentQuery
‪setParentQuery(?QueryInterface $parentQuery)
Definition: Query.php:154
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\injectQomFactory
‪injectQomFactory(\TYPO3\CMS\Extbase\Persistence\Generic\Qom\QueryObjectModelFactory $qomFactory)
Definition: Query.php:126
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\logicalAnd
‪TYPO3 CMS Extbase Persistence Generic Qom AndInterface logicalAnd($constraint1)
Definition: Query.php:398
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\getQuerySettings
‪QuerySettingsInterface getQuerySettings()
Definition: Query.php:176
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\JCR_JOIN_TYPE_INNER
‪const JCR_JOIN_TYPE_INNER
Definition: Query.php:27
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\injectDataMapFactory
‪injectDataMapFactory(\TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapFactory $dataMapFactory)
Definition: Query.php:110
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\getSelectorName
‪string getSelectorName()
Definition: Query.php:210
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_CONTAINS
‪const OPERATOR_CONTAINS
Definition: QueryInterface.php:75
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\greaterThanOrEqual
‪TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface greaterThanOrEqual($propertyName, $operand)
Definition: Query.php:568
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$statement
‪TYPO3 CMS Extbase Persistence Generic Qom Statement $statement
Definition: Query.php:74
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\matching
‪QueryInterface matching($constraint)
Definition: Query.php:350
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\contains
‪TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface contains($propertyName, $operand)
Definition: Query.php:503
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\getOrderings
‪int getOrderings()
Definition: Query.php:272
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$parentQuery
‪QueryInterface $parentQuery
Definition: Query.php:97
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\CHARSET
‪const CHARSET
Definition: Query.php:42
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\setOrderings
‪QueryInterface setOrderings(array $orderings)
Definition: Query.php:257
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$limit
‪int $limit
Definition: Query.php:82
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$constraint
‪TYPO3 CMS Extbase Persistence Generic Qom ConstraintInterface $constraint
Definition: Query.php:70
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\__wakeup
‪__wakeup()
Definition: Query.php:593
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\getLimit
‪int getLimit()
Definition: Query.php:311
‪TYPO3\CMS\Extbase\Persistence\Generic\QuerySettingsInterface
Definition: QuerySettingsInterface.php:21
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$type
‪string $type
Definition: Query.php:46
‪TYPO3\CMS\Extbase\Persistence\Generic
Definition: Backend.php:2
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\unsetLimit
‪QueryInterface unsetLimit()
Definition: Query.php:300
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\setQuerySettings
‪setQuerySettings(QuerySettingsInterface $querySettings)
Definition: Query.php:165
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_LESS_THAN
‪const OPERATOR_LESS_THAN
Definition: QueryInterface.php:50
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\count
‪int count()
Definition: Query.php:615
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$dataMapFactory
‪TYPO3 CMS Extbase Persistence Generic Mapper DataMapFactory $dataMapFactory
Definition: Query.php:54
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\lessThanOrEqual
‪TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface lessThanOrEqual($propertyName, $operand)
Definition: Query.php:544
‪TYPO3\CMS\Extbase\Persistence\QueryInterface\OPERATOR_EQUAL_TO
‪const OPERATOR_EQUAL_TO
Definition: QueryInterface.php:30
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\logicalNot
‪TYPO3 CMS Extbase Persistence Generic Qom NotInterface logicalNot(\TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface $constraint)
Definition: Query.php:448
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\setSource
‪setSource(\TYPO3\CMS\Extbase\Persistence\Generic\Qom\SourceInterface $source)
Definition: Query.php:199
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\equals
‪TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface equals($propertyName, $operand, $caseSensitive=true)
Definition: Query.php:461
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$orderings
‪int $orderings
Definition: Query.php:78
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\getType
‪string getType()
Definition: Query.php:189
‪TYPO3\CMS\Extbase\Persistence\Generic\Query
Definition: Query.php:23
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\isEmpty
‪isEmpty($propertyName)
Definition: Query.php:627
‪TYPO3\CMS\Extbase\Persistence\Generic\Qom\ConstraintInterface
Definition: ConstraintInterface.php:24
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\getSource
‪TYPO3 CMS Extbase Persistence Generic Qom SourceInterface getSource()
Definition: Query.php:224
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\JCR_JOIN_TYPE_LEFT_OUTER
‪const JCR_JOIN_TYPE_LEFT_OUTER
Definition: Query.php:32
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\between
‪TYPO3 CMS Extbase Persistence Generic Qom AndInterface between($propertyName, $operandLower, $operandUpper)
Definition: Query.php:582
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$qomFactory
‪TYPO3 CMS Extbase Persistence Generic Qom QueryObjectModelFactory $qomFactory
Definition: Query.php:62
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\execute
‪TYPO3 CMS Extbase Persistence QueryResultInterface array execute($returnRawQueryResult=false)
Definition: Query.php:238
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\logicalOr
‪TYPO3 CMS Extbase Persistence Generic Qom OrInterface logicalOr($constraint1)
Definition: Query.php:423
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\getConstraint
‪TYPO3 CMS Extbase Persistence Generic Qom ConstraintInterface null getConstraint()
Definition: Query.php:385
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\$source
‪TYPO3 CMS Extbase Persistence Generic Qom SourceInterface $source
Definition: Query.php:66
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\__construct
‪__construct($type)
Definition: Query.php:136
‪TYPO3\CMS\Extbase\Persistence\Generic\Query\injectObjectManager
‪injectObjectManager(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface $objectManager)
Definition: Query.php:102