You are here

class RouterMatchEvent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony-cmf/routing/Event/RouterMatchEvent.php \Symfony\Cmf\Component\Routing\Event\RouterMatchEvent

Hierarchy

  • class \Symfony\Component\EventDispatcher\Event

Expanded class hierarchy of RouterMatchEvent

2 files declare their use of RouterMatchEvent
DynamicRouter.php in vendor/symfony-cmf/routing/DynamicRouter.php
DynamicRouterTest.php in vendor/symfony-cmf/routing/Tests/Routing/DynamicRouterTest.php

File

vendor/symfony-cmf/routing/Event/RouterMatchEvent.php, line 17

Namespace

Symfony\Cmf\Component\Routing\Event
View source
class RouterMatchEvent extends Event {

  /**
   * @var Request
   */
  protected $request;

  /**
   * @param Request $request
   */
  public function __construct(Request $request = null) {
    $this->request = $request;
  }

  /**
   * @return Request | null
   */
  public function getRequest() {
    return $this->request;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Event::$dispatcher private property
Event::$name private property
Event::$propagationStopped private property
Event::getDispatcher Deprecated public function Returns the EventDispatcher that dispatches this Event.
Event::getName Deprecated public function Gets the event's name.
Event::isPropagationStopped public function Returns whether further event listeners should be triggered.
Event::setDispatcher Deprecated public function Stores the EventDispatcher that dispatches this Event.
Event::setName Deprecated public function Sets the event's name property.
Event::stopPropagation public function Stops the propagation of the event to further event listeners.
RouterMatchEvent::$request protected property
RouterMatchEvent::getRequest public function
RouterMatchEvent::__construct public function