Свойство | Тип | Описание | |
---|---|---|---|
$config | |||
$connection | Doctrine\DBAL\Connection | ||
$installedTables | Doctrine\DBAL\Schema\Table[] | ||
$schema | Doctrine\DBAL\Schema\Schema | ||
$schemaTables | Doctrine\DBAL\Schema\Table[] |
Метод | Описание | |
---|---|---|
__construct ( Silex\Application $app ) | Constructor. | |
check ( ) : |
Run a check against current and configured schemas. | |
getInstalledTables ( ) : Doctrine\DBAL\Schema\Table[] | Get the installed table list from Doctrine. | |
getSchema ( ) : Doctrine\DBAL\Schema\Schema | Get the built schema. | |
getSchemaTables ( ) : Doctrine\DBAL\Schema\Table[] | Get a merged array of tables. | |
getTableName ( string $name ) : string | null | Get the database name of a table from an alias. | |
hasUserTable ( ) : boolean | Check if just the users table is present. | |
isCheckRequired ( ) | ||
isUpdateRequired ( ) | ||
registerExtensionTable ( callable $generator ) | This method allows extensions to register their own tables. | |
update ( ) : |
Run database table updates. |
Метод | Описание | |
---|---|---|
getSchemaComparator ( ) : Bolt\Storage\Database\Schema\Comparison\BaseComparator | ||
getSchemaTimer ( ) : |
public __construct ( Silex\Application $app ) | ||
$app | Silex\Application |
public check ( ) : |
||
Результат |
public getInstalledTables ( ) : Doctrine\DBAL\Schema\Table[] | ||
Результат | Doctrine\DBAL\Schema\Table[] |
public getSchema ( ) : Doctrine\DBAL\Schema\Schema | ||
Результат | Doctrine\DBAL\Schema\Schema |
public getSchemaTables ( ) : Doctrine\DBAL\Schema\Table[] | ||
Результат | Doctrine\DBAL\Schema\Table[] |
public hasUserTable ( ) : boolean | ||
Результат | boolean |
public registerExtensionTable ( callable $generator ) | ||
$generator | callable | A generator function that takes the Schema instance and returns a table or an array of tables. |
public update ( ) : |
||
Результат |
protected Connection,Doctrine\DBAL $connection | ||
Результат | Doctrine\DBAL\Connection |
protected Table[],Doctrine\DBAL\Schema $installedTables | ||
Результат | Doctrine\DBAL\Schema\Table[] |
protected Schema,Doctrine\DBAL\Schema $schema | ||
Результат | Doctrine\DBAL\Schema\Schema |