class DocumentManagerHelper extends Helper (View source)

Symfony console component helper for accessing a DocumentManager instance.

Properties

protected $dm

Methods

__construct(DocumentManager $dm)

Constructor.

getDocumentManager()

Get the DocumentManager instance.

string
getName()

Get the canonical name of this helper.

Details

__construct(DocumentManager $dm)

Constructor.

Parameters

DocumentManager $dm

DocumentManager getDocumentManager()

Get the DocumentManager instance.

Return Value

DocumentManager

string getName()

Get the canonical name of this helper.

Return Value

string

See also

\Symfony\Component\Console\Helper\HelperInterface::getName()