Interfaces
This commit is contained in:
15
src/Concept/Database/QueryBuilder.php
Normal file
15
src/Concept/Database/QueryBuilder.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace ProVM\Concept\Database;
|
||||
|
||||
use Psr\Container\ContainerInterface;
|
||||
use ProVM\Concept\Database\Query\{Delete,Insert,Select,Update};
|
||||
|
||||
interface QueryBuilder
|
||||
{
|
||||
public function setContainer(ContainerInterface $container): QueryBuilder;
|
||||
public function getContainer(): ContainerInterface;
|
||||
public function select(array $columns = ['*']): Select;
|
||||
public function insert(string $table): Insert;
|
||||
public function update(string $table): Update;
|
||||
public function delete(string $table): Delete;
|
||||
}
|
Reference in New Issue
Block a user