PHP Class Symfony\Bundle\DoctrineBundle\Command\DoctrineCommand

Author: Fabien Potencier ([email protected])
Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\Command
Afficher le fichier Open project: pmjones/php-framework-benchmarks Class Usage Examples

Méthodes publiques

Méthode Description
setApplicationConnection ( Application $application, $connName )
setApplicationEntityManager ( Application $application, $emName )

Méthodes protégées

Méthode Description
getBundleMetadatas ( Bundle $bundle )
getDoctrineConnections ( ) : Connection[] TODO: Better way to do these functions?
getDoctrineEntityManagers ( )
getEntityGenerator ( )
getEntityManager ( $name = null )
runCommand ( $name, array $input = [] )

Method Details

getBundleMetadatas() protected méthode

protected getBundleMetadatas ( Bundle $bundle )
$bundle Symfony\Component\HttpKernel\Bundle\Bundle

getDoctrineConnections() protected méthode

TODO: Better way to do these functions?
protected getDoctrineConnections ( ) : Connection[]
Résultat Connection[] An array of Connections

getDoctrineEntityManagers() protected méthode

getEntityGenerator() protected méthode

protected getEntityGenerator ( )

getEntityManager() protected méthode

protected getEntityManager ( $name = null )

runCommand() protected méthode

protected runCommand ( $name, array $input = [] )
$input array

setApplicationConnection() public static méthode

public static setApplicationConnection ( Application $application, $connName )
$application Symfony\Bundle\FrameworkBundle\Console\Application

setApplicationEntityManager() public static méthode

public static setApplicationEntityManager ( Application $application, $emName )
$application Symfony\Bundle\FrameworkBundle\Console\Application