abstract class DoctrineODMCommand extends Command implements ContainerAwareInterface (View source)

Base class for Doctrine ODM console commands to extend.

Traits

ContainerAwareTrait

Methods

__construct(ManagerRegistry|null $registry = null)

No description

ContainerInterface
getContainer()

No description

static 
setApplicationDocumentManager(Application $application, $dmName)

No description

getDoctrineDocumentManagers()

No description

getManagerRegistry()

No description

findBundle($bundleName)

No description

string
findBasePathForBundle(Bundle $bundle)

Transform classname to a path $foundBundle substract it to get the destination

Details

__construct(ManagerRegistry|null $registry = null)

Parameters

ManagerRegistry|null $registry

protected ContainerInterface getContainer()

Return Value

ContainerInterface

static setApplicationDocumentManager(Application $application, $dmName)

Parameters

Application $application
$dmName

protected getDoctrineDocumentManagers()

protected getManagerRegistry()

protected findBundle($bundleName)

Parameters

$bundleName

protected string findBasePathForBundle(Bundle $bundle)

Transform classname to a path $foundBundle substract it to get the destination

Parameters

Bundle $bundle

Return Value

string