Copied!

BaseEvent

BaseEvent.php : 14
Implements EventInterface

Properties

protected $date

BaseEvent.php : 23
protected DateTimeInterface $date

protected $description

BaseEvent.php : 20
protected string $description

protected $icon

BaseEvent.php : 26
protected string $icon

protected $name

BaseEvent.php : 17
protected string $name

Methods

public__construct()

BaseEvent.php : 34
public __construct(string $name, string $description, DateTimeInterface $date, string $icon)

Parameters

Name Type Default value Description
$name string - -
$description string - -
$date DateTimeInterface - -
$icon string - -

publicgetDate()

BaseEvent.php : 81
public getDate() : DateTimeInterface

Return values

DateTimeInterface

publicgetDescription()

BaseEvent.php : 65
public getDescription() : string

Return values

string

publicgetIcon()

BaseEvent.php : 97
public getIcon() : string

Return values

string

publicgetName()

BaseEvent.php : 49
public getName() : string

Return values

string

publicsetDate()

BaseEvent.php : 89
public setDate(DateTimeInterface $date) : void

Parameters

Name Type Default value Description
$date DateTimeInterface - -

publicsetDescription()

BaseEvent.php : 73
public setDescription(string $description) : void

Parameters

Name Type Default value Description
$description string - -

publicsetIcon()

BaseEvent.php : 105
public setIcon(string $icon) : void

Parameters

Name Type Default value Description
$icon string - -

publicsetName()

BaseEvent.php : 57
public setName(string $name) : void

Parameters

Name Type Default value Description
$name string - -