Copied!

UpdateLanguageNameEvent

UpdateLanguageNameEvent.php : 14
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

UpdateLanguageNameEvent.php : 25
public __construct(Language $updatedLanguage, Language $language, string $newName)

Parameters

Name Type Default value Description
$updatedLanguage Language - -
$language Language - -
$newName string - -

publicgetLanguage()

UpdateLanguageNameEvent.php : 40
public getLanguage() : Language

Return values

Language

publicgetNewName()

UpdateLanguageNameEvent.php : 45
public getNewName() : string

Return values

string

publicgetUpdatedLanguage()

UpdateLanguageNameEvent.php : 35
public getUpdatedLanguage() : Language

Return values

Language

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().