Namespaces changes
This commit is contained in:
15
src/Define/Database/ResultSet.php
Normal file
15
src/Define/Database/ResultSet.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace Database\Define\Database;
|
||||
|
||||
use PDOStatement;
|
||||
|
||||
interface ResultSet
|
||||
{
|
||||
public function getStatement(): PDOStatement;
|
||||
public function execute(array $data): self;
|
||||
|
||||
public function fetchFirst(): array;
|
||||
public function fetchAll(): array;
|
||||
public function fetchFirstAsObject(): object;
|
||||
public function fetchAllAsObjects(): array;
|
||||
}
|
Reference in New Issue
Block a user