abstract class DoctrineODMCommand extends ContainerAwareCommand (View source)

Base class for Doctrine ODM console commands to extend.

Methods

static 
setApplicationDocumentManager(Application $application, $dmName)

No description

getDocumentGenerator()

No description

getDoctrineDocumentManagers()

No description

getBundleMetadatas(Bundle $bundle)

No description

findBundle($bundleName)

No description

string
findBasePathForBundle(Bundle $bundle)

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

Details

static setApplicationDocumentManager(Application $application, $dmName)

Parameters

Application $application
$dmName

protected getDocumentGenerator()

protected getDoctrineDocumentManagers()

protected getBundleMetadatas(Bundle $bundle)

Parameters

Bundle $bundle

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