You are here

public function OnClearEventArgs::clearsAllEntities in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/OnClearEventArgs.php \Doctrine\Common\Persistence\Event\OnClearEventArgs::clearsAllEntities()

Returns whether this event clears all entities.

Return value

bool

File

vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/OnClearEventArgs.php, line 82

Class

OnClearEventArgs
Provides event arguments for the onClear event.

Namespace

Doctrine\Common\Persistence\Event

Code

public function clearsAllEntities() {
  return $this->entityClass === null;
}