TryAutoSelect
extends BaseEvent
in package
Table of Contents
Properties
- $selector : PersoSelector
- $persos : array<string|int, Perso>
Methods
- __construct() : mixed
- getDatabase() : DatabaseEngine
- handle() : void
- isTriggered() : bool
- run() : void
- askUserToCreatePerso() : never
- askUserToSelectPerso() : never
- autoselect() : void
Properties
$selector
protected
PersoSelector
$selector
$persos
private
array<string|int, Perso>
$persos
Methods
__construct()
public
__construct(PersoSelector $selector) : mixed
Parameters
- $selector : PersoSelector
getDatabase()
public
getDatabase() : DatabaseEngine
Return values
DatabaseEnginehandle()
public
handle() : void
isTriggered()
public
isTriggered() : bool
Return values
boolrun()
public
run() : void
askUserToCreatePerso()
private
askUserToCreatePerso() : never
Return values
neveraskUserToSelectPerso()
private
askUserToSelectPerso() : never
Return values
neverautoselect()
private
autoselect() : void