tflori/orm

just another orm...

View the Project on GitHub tflori/orm

Build Status Test Coverage Maintainability Latest Stable Version Total Downloads

» API Reference » ORM\Observer\AbstractObserver

ORM\Observer\AbstractObserver

Table of Contents

Abstract

Implements: ORM\ObserverInterface

AbstractObserver for entity events

When a handler returns false it will cancel other event handlers and if applicable stops the execution (saving, inserting, updating and deleting can be canceled).

Methods

ORM\Observer\AbstractObserver::handle

public function handle(\ORM\Event $event): bool
Handles the $event.

Return false to stop event execution.

Returns bool  
Parameters
Parameter Type Description
$event ORM\Event  

ORM\Observer\AbstractObserver::handle

↑ top