PHP Class Doctrine\DBAL\Migrations\Configuration\AbstractFileConfiguration

Since: 2.0
Author: Jonathan H. Wage ([email protected])
Inheritance: extends Configuration
Afficher le fichier Open project: doctrine/migrations

Méthodes publiques

Méthode Description
getFile ( )
load ( string $file ) Load the information from the passed configuration file

Méthodes protégées

Méthode 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

Méthode Description
loadMigrations ( $migrations )
loadMigrationsFromDirectory ( $migrationsDirectory )
setMigrationOrganisation ( $migrationOrganisation )

Method Details

doLoad() abstract protected méthode

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 méthode

protected getDirectoryRelativeToFile ( $file, $input )

getFile() public méthode

public getFile ( )

load() public méthode

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

setConfiguration() protected méthode

protected setConfiguration ( array $config )
$config array