You are here

public function Event::setName in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/event-dispatcher/Event.php \Symfony\Component\EventDispatcher\Event::setName()

Sets the event's name property.

Parameters

string $name The event name.:

Deprecated

since version 2.4, to be removed in 3.0. The event name is passed to the listener call.

File

vendor/symfony/event-dispatcher/Event.php, line 116

Class

Event
Event is the base class for classes containing event data.

Namespace

Symfony\Component\EventDispatcher

Code

public function setName($name) {
  $this->name = $name;
}