You are here

public function GenericEvent::getSubject in Zircon Profile 8

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

Getter for subject property.

Return value

mixed $subject The observer subject.

File

vendor/symfony/event-dispatcher/GenericEvent.php, line 54

Class

GenericEvent
Event encapsulation class.

Namespace

Symfony\Component\EventDispatcher

Code

public function getSubject() {
  return $this->subject;
}