vendor/doctrine/orm/src/Query/Expr/Andx.php line 14

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\ORM\Query\Expr;
  4. use Stringable;
  5. /**
  6. * Expression class for building DQL and parts.
  7. *
  8. * @link www.doctrine-project.org
  9. */
  10. class Andx extends Composite
  11. {
  12. protected string $separator = ' AND ';
  13. /** @var list<class-string<Stringable>> */
  14. protected array $allowedClasses = [
  15. Comparison::class,
  16. Func::class,
  17. Orx::class,
  18. self::class,
  19. ];
  20. /** @phpstan-var list<string|Comparison|Func|Orx|self> */
  21. protected array $parts = [];
  22. /** @phpstan-return list<string|Comparison|Func|Orx|self> */
  23. public function getParts(): array
  24. {
  25. return $this->parts;
  26. }
  27. }