Oihana PHP System

AfterReplace extends Payload

Notice emitted after a document has been replaced.

Example:

$notice = new AfterReplace
(
    data    : $result,
    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 AfterReplace instance

Methods

__construct()

Creates a new AfterReplace 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 replaced.

$target : object|null = null

The target of the notice.

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

The context of the notice.


        
On this page

Search results