public function OnClearEventArgs::clearsAllEntities

Check if event clears all entities.

Return value

bool

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/OnClearEventArgs.php, line 80

Class

OnClearEventArgs
Provides event arguments for the onClear event.

Namespace

Doctrine\Common\Persistence\Event

Code

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