mini\Database\VirtualDatabase::withTables() Method

public

Signature

public function withTables(array $tables): mini\Database\DatabaseInterface

Parameters

Name Type Default Description
$tables array required Documentation missing

Returns

mini\Database\DatabaseInterface

Documentation

Create a new VirtualDatabase with shadowed tables

Inherits all tables from this database, then registers the provided tables which shadow any existing tables with the same names.

Source

src/Database/VirtualDatabase.php:483-503