Upload files to 'includes'
This commit is contained in:
34
includes/ParserInterface.php
Normal file
34
includes/ParserInterface.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* This file is part of Aura for PHP.
|
||||
*
|
||||
* @license https://opensource.org/licenses/MIT MIT
|
||||
*
|
||||
*/
|
||||
namespace Aura\Sql\Parser;
|
||||
|
||||
/**
|
||||
*
|
||||
* Interface for query parsing/rebuilding functionality.
|
||||
*
|
||||
* @package Aura.Sql
|
||||
*
|
||||
*/
|
||||
interface ParserInterface
|
||||
{
|
||||
/**
|
||||
*
|
||||
* Rebuilds a query and its parameters to adapt it to PDO's limitations,
|
||||
* and returns a list of queries.
|
||||
*
|
||||
* @param string $string The query statement string.
|
||||
*
|
||||
* @param array $parameters Bind these values into the query.
|
||||
*
|
||||
* @return array An array where element 0 is the rebuilt statement and
|
||||
* element 1 is the rebuilt array of values.
|
||||
*
|
||||
*/
|
||||
public function rebuild($string, array $parameters = []);
|
||||
}
|
Reference in New Issue
Block a user