em ->createQueryBuilder() ->from(OperatorEntity::class, 'operator') ->select('operator') ; return $this->allFromQueryBuilder($builder, $modifiers, [ 'alias' => 'operator', 'entity' => OperatorEntity::class, 'type' => Operator::class, ]); } }