vendor/doctrine/orm/src/Query/Expr/Select.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 select statements.
  7. *
  8. * @link www.doctrine-project.org
  9. */
  10. class Select extends Base
  11. {
  12. protected string $preSeparator = '';
  13. protected string $postSeparator = '';
  14. /** @var list<class-string<Stringable>> */
  15. protected array $allowedClasses = [Func::class];
  16. /** @phpstan-var list<string|Func> */
  17. protected array $parts = [];
  18. /** @phpstan-return list<string|Func> */
  19. public function getParts(): array
  20. {
  21. return $this->parts;
  22. }
  23. }