[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/includes/vendor/aura/sql/src/Parser/ -> ParserInterface.php (source)

   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   * Interface for query parsing/rebuilding functionality.
  14   *
  15   * @package Aura.Sql
  16   *
  17   */
  18  interface ParserInterface
  19  {
  20      /**
  21       *
  22       * Rebuilds a query and its parameters to adapt it to PDO's limitations,
  23       * and returns a list of queries.
  24       *
  25       * @param string $string The query statement string.
  26       *
  27       * @param array $parameters Bind these values into the query.
  28       *
  29       * @return array An array where element 0 is the rebuilt statement and
  30       * element 1 is the rebuilt array of values.
  31       *
  32       */
  33      public function rebuild($string, array $parameters = []);
  34  }


Generated: Thu Sep 19 05:10:04 2024 Cross-referenced by PHPXref 0.7.1