nextcloud/lib/private/DB/QueryBuilder/Parameter.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
469 B
PHP
Raw Normal View History

<?php
/**
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
2015-07-07 11:30:26 -04:00
namespace OC\DB\QueryBuilder;
2015-07-07 11:30:26 -04:00
use OCP\DB\QueryBuilder\IParameter;
2015-07-07 11:30:26 -04:00
class Parameter implements IParameter {
/** @var mixed */
protected $name;
2015-07-07 11:30:26 -04:00
public function __construct($name) {
$this->name = $name;
}
public function __toString(): string {
2015-07-07 11:30:26 -04:00
return (string)$this->name;
}
}