Zed. The source code to build a world.

Create extends BaseEvent
in package

This event is triggered when a perso is created, for example after a new perso form posted.

Table of Contents

Properties

$selector  : PersoSelector
$createdPerso  : Perso|null
$errors  : array<string|int, mixed>

Methods

__construct()  : mixed
getDatabase()  : DatabaseEngine
handle()  : void
isTriggered()  : bool
run()  : void
login()  : void
printAgainCreatePersoForm()  : void

Properties

$errors

private array<string|int, mixed> $errors = []

Methods

getDatabase()

public getDatabase() : DatabaseEngine
Return values
DatabaseEngine

isTriggered()

public isTriggered() : bool
Return values
bool

printAgainCreatePersoForm()

private printAgainCreatePersoForm() : void

        
On this page

Search results