18 lines
552 B
PHP
18 lines
552 B
PHP
<?php
|
|
namespace DatabaseHelper\interfaces;
|
|
|
|
interface DatabaseHelper
|
|
{
|
|
public static function makeTable(string $tableName): TableBlueprint;
|
|
|
|
public static function makeMigration(TableBlueprint $table): MigrationBlueprint;
|
|
|
|
public static function makeQuery(TableBlueprint $table): QueryBuilder;
|
|
|
|
public static function makeInsertion(TableBlueprint $table): InsertionBuilder;
|
|
|
|
public static function makeDeletion(TableBlueprint $table): DeletionBuilder;
|
|
|
|
public static function makeUpdate(TableBlueprint $table): UpdateBuilder;
|
|
}
|