public function __construct($field, $newAlias, $dqlAlias = null) { $this->field = $field; $this->newAlias = $newAlias; $this->dqlAlias = $dqlAlias; }