PHP Class Doctrine\DBAL\Migrations\Configuration\AbstractFileConfiguration

Since: 2.0
Author: Jonathan H. Wage ([email protected])
Inheritance: extends Configuration
ファイルを表示 Open project: doctrine/migrations

Public Methods

Method Description
getFile ( )
load ( string $file ) Load the information from the passed configuration file

Protected Methods

Method Description
doLoad ( string $file ) Abstract method that each file configuration driver must implement to load the given configuration file whether it be xml, yaml, etc. or something else.
getDirectoryRelativeToFile ( $file, $input )
setConfiguration ( array $config )

Private Methods

Method Description
loadMigrations ( $migrations )
loadMigrationsFromDirectory ( $migrationsDirectory )
setMigrationOrganisation ( $migrationOrganisation )

Method Details

doLoad() abstract protected method

Abstract method that each file configuration driver must implement to load the given configuration file whether it be xml, yaml, etc. or something else.
abstract protected doLoad ( string $file )
$file string The path to a configuration file.

getDirectoryRelativeToFile() protected method

protected getDirectoryRelativeToFile ( $file, $input )

getFile() public method

public getFile ( )

load() public method

Load the information from the passed configuration file
public load ( string $file )
$file string The path to the configuration file

setConfiguration() protected method

protected setConfiguration ( array $config )
$config array