[ Index ] |
PHP Cross Reference of YOURLS |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * 4 * This file is part of Aura for PHP. 5 * 6 * @license https://opensource.org/licenses/MIT MIT 7 * 8 */ 9 namespace Aura\Sql\Parser; 10 11 /** 12 * 13 * A parser/rebuilder that does nothing at all; use this when your placeholders 14 * and bound-values are already perfectly matched. 15 * 16 * @package Aura.Sql 17 * 18 */ 19 class NullParser implements ParserInterface 20 { 21 /** 22 * 23 * Leaves the query and parameters alone. 24 * 25 * @param string $string The query statement string. 26 * 27 * @param array $parameters Bind these values into the query. 28 * 29 * @return array 30 * 31 */ 32 public function rebuild(string $string, array $parameters = []): array 33 { 34 return [$string, $parameters]; 35 } 36 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Apr 1 05:10:01 2025 | Cross-referenced by PHPXref 0.7.1 |