Doctrine\ORM\UnitOfWork::clear
Clears the UnitOfWork.
Signature
public function clear([string
$entityName = null] )
Parameters
$entityName
— string- if given, only entities of this type will get detached
public function clear([string
$entityName = null] )
$entityName
—
string