phpBB API Documentation
Class

phpbb\db\migration\schema_generator

class schema_generator

The schema generator generates the schema based on the existing migrations

Methods

__construct(array $class_names, config $config, driver_interface $db, tools_interface $db_tools, $phpbb_root_path, $php_ext, $table_prefix)

Constructor

array get_schema()

Loads all migrations and their application state from the database.

Details

at line 51
public __construct(array $class_names, config $config, driver_interface $db, tools_interface $db_tools, $phpbb_root_path, $php_ext, $table_prefix)

Constructor

Parameters

array $class_names
config $config
driver_interface $db
tools_interface $db_tools
$phpbb_root_path
$php_ext
$table_prefix

at line 67
public array get_schema()

Loads all migrations and their application state from the database.

Return Value

array