class GenerateRepositoriesDoctrineODMCommand extends DoctrineODMCommand (View source)

Command to generate repository classes for mapping information.

Methods

static 
setApplicationDocumentManager(Application $application, $dmName)

No description

getDocumentGenerator()

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

configure()

No description

execute(InputInterface $input, OutputInterface $output)

No description

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

protected configure()

protected execute(InputInterface $input, OutputInterface $output)

Parameters

InputInterface $input
OutputInterface $output