PHP Class Symfony\Bundle\DoctrineBundle\Command\DoctrineCommand

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

Public Methods

Method Description
setApplicationConnection ( Application $application, $connName )
setApplicationEntityManager ( Application $application, $emName )

Protected Methods

Method 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 method

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

getDoctrineConnections() protected method

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

getDoctrineEntityManagers() protected method

getEntityGenerator() protected method

protected getEntityGenerator ( )

getEntityManager() protected method

protected getEntityManager ( $name = null )

runCommand() protected method

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

setApplicationConnection() public static method

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

setApplicationEntityManager() public static method

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