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.     /** @var string */
  13.     protected $separator = ' AND ';
  14.     /** @var list<class-string<Stringable>> */
  15.     protected $allowedClasses = [
  16.         Comparison::class,
  17.         Func::class,
  18.         Orx::class,
  19.         self::class,
  20.     ];
  21.     /** @phpstan-var list<string|Comparison|Func|Orx|self> */
  22.     protected $parts = [];
  23.     /** @phpstan-return list<string|Comparison|Func|Orx|self> */
  24.     public function getParts()
  25.     {
  26.         return $this->parts;
  27.     }
  28. }