Oihana PHP System

BeforeUpdate extends Payload

Notice emitted before a document is updated.

Example:

$notice = new BeforeUpdate
(
    target  : $this,
    context : $init
);

$signal->emit( $notice ) ;
Tags
author

Marc Alcaraz (ekameleon)

since
1.0.0

Table of Contents

Methods

__construct()  : mixed
Creates a new BeforeUpdate instance.

Methods

__construct()

Creates a new BeforeUpdate instance.

public __construct([mixed|null $data = null ][, object|null $target = null ][, array<string|int, mixed> $context = [] ]) : mixed
Parameters
$data : mixed|null = null

The document(s) or value updated.

$target : object|null = null

The target of the notice.

$context : array<string|int, mixed> = []

The context of the notice.


        
On this page

Search results