1
0

Parameter.php 470 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace OC\DB\QueryBuilder;
  8. use OCP\DB\QueryBuilder\IParameter;
  9. class Parameter implements IParameter {
  10. /** @var mixed */
  11. protected $name;
  12. public function __construct($name) {
  13. $this->name = $name;
  14. }
  15. public function __toString(): string {
  16. return (string) $this->name;
  17. }
  18. }