mediatekformation

PHPCRPurger
in package
implements PurgerInterface

Class responsible for purging databases of data before reloading data fixtures.

Interfaces, Classes, Traits and Enums

PurgerInterface
PurgerInterface

Table of Contents

$dm  : DocumentManagerInterface|null
__construct()  : mixed
getObjectManager()  : DocumentManagerInterface|null
purge()  : void
Purge the data from the database for the given EntityManager.
setDocumentManager()  : mixed

Properties

Methods

__construct()

public __construct([DocumentManagerInterface|null $dm = null ]) : mixed
Parameters
$dm : DocumentManagerInterface|null = null
Return values
mixed

getObjectManager()

public getObjectManager() : DocumentManagerInterface|null
Return values
DocumentManagerInterface|null

purge()

Purge the data from the database for the given EntityManager.

public purge() : void
Tags
inheritDoc
Return values
void

setDocumentManager()

public setDocumentManager(DocumentManager $dm) : mixed
Parameters
$dm : DocumentManager
Return values
mixed

Search results