PHP Class Neos\Flow\Persistence\Doctrine\Migrations\Version20130319131400

Inheritance: extends Doctrine\DBAL\Migrations\AbstractMigration
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$configurationManager Neos\Flow\Configuration\ConfigurationManager

Méthodes publiques

Méthode Description
down ( Doctrine\DBAL\Schema\Schema $schema ) : void
up ( Doctrine\DBAL\Schema\Schema $schema ) : void

Méthodes protégées

Méthode Description
getRoleIdentifierMap ( array $map ) : array Returns the given array indexed by "old" role identifiers with the "new" identifiers added as values to their matching index.
loadRolesFromPolicyFiles ( ) : array Reads all Policy.yaml files below Packages, extracts the roles and prepends them with the package key "guessed" from the path.
migrateAccountRolesDown ( ) : void Generate SQL statements to migrate accounts down to embedded roles.
migrateAccountRolesUp ( ) : void Generate SQL statements to migrate accounts up to referenced roles.

Method Details

down() public méthode

public down ( Doctrine\DBAL\Schema\Schema $schema ) : void
$schema Doctrine\DBAL\Schema\Schema
Résultat void

getRoleIdentifierMap() protected méthode

Returns the given array indexed by "old" role identifiers with the "new" identifiers added as values to their matching index.
protected getRoleIdentifierMap ( array $map ) : array
$map array
Résultat array

loadRolesFromPolicyFiles() protected méthode

Reads all Policy.yaml files below Packages, extracts the roles and prepends them with the package key "guessed" from the path.
protected loadRolesFromPolicyFiles ( ) : array
Résultat array

migrateAccountRolesDown() protected méthode

Generate SQL statements to migrate accounts down to embedded roles.
protected migrateAccountRolesDown ( ) : void
Résultat void

migrateAccountRolesUp() protected méthode

Generate SQL statements to migrate accounts up to referenced roles.
protected migrateAccountRolesUp ( ) : void
Résultat void

up() public méthode

public up ( Doctrine\DBAL\Schema\Schema $schema ) : void
$schema Doctrine\DBAL\Schema\Schema
Résultat void

Property Details

$configurationManager protected_oe property

protected ConfigurationManager,Neos\Flow\Configuration $configurationManager
Résultat Neos\Flow\Configuration\ConfigurationManager