[ 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 $statement The query statement string. 26 * 27 * @param array $values Bind these values into the query. 28 * 29 * @return array 30 * 31 */ 32 public function rebuild($statement, array $values = []) 33 { 34 return [$statement, $values]; 35 } 36 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Sep 19 05:10:04 2024 | Cross-referenced by PHPXref 0.7.1 |