phpmyadmin/libraries/classes/Dbal/Statement.php
Maurício Meneghini Fauth 4129bfe23e
Create Dbal/Statement interface
Wraps mysqli_stmt class with the Dbal\MysqliStatement class.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-01-20 00:36:01 -03:00

21 lines
350 B
PHP

<?php
declare(strict_types=1);
namespace PhpMyAdmin\Dbal;
interface Statement
{
/**
* Executes a prepared statement.
*
* @param list<string> $params
*/
public function execute(array $params): bool;
/**
* Gets a result set from a prepared statement.
*/
public function getResult(): ResultInterface;
}