You are here

public function OnClearEventArgs::clearsAllEntities in Plug 7

Returns whether this event clears all entities.

Return value

bool

File

lib/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;
}