PHP 클래스 Symfony\Bundle\DoctrineBundle\Command\DoctrineCommand

저자: Fabien Potencier ([email protected])
상속: extends Symfony\Bundle\FrameworkBundle\Command\Command
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
setApplicationConnection ( Application $application, $connName )
setApplicationEntityManager ( Application $application, $emName )

보호된 메소드들

메소드 설명
getBundleMetadatas ( Bundle $bundle )
getDoctrineConnections ( ) : Connection[] TODO: Better way to do these functions?
getDoctrineEntityManagers ( )
getEntityGenerator ( )
getEntityManager ( $name = null )
runCommand ( $name, array $input = [] )

메소드 상세

getBundleMetadatas() 보호된 메소드

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

getDoctrineConnections() 보호된 메소드

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

getDoctrineEntityManagers() 보호된 메소드

getEntityGenerator() 보호된 메소드

protected getEntityGenerator ( )

getEntityManager() 보호된 메소드

protected getEntityManager ( $name = null )

runCommand() 보호된 메소드

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

setApplicationConnection() 공개 정적인 메소드

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

setApplicationEntityManager() 공개 정적인 메소드

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