vendor/doctrine/orm/lib/Doctrine/ORM/Query/Expr/Andx.php line 12

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