ModifierMatchedEvent.php in Persistent URL 8
File
src/Event/ModifierMatchedEvent.php
View source
<?php
namespace Drupal\purl\Event;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\HttpFoundation\Request;
class ModifierMatchedEvent extends Event {
protected $request;
protected $providerKey;
protected $modifierKey;
protected $value;
protected $methodKey;
public function __construct(Request $request, $providerKey, $methodKey, $modifierKey, $value) {
$this->request = $request;
$this->providerKey = $providerKey;
$this->modifierKey = $modifierKey;
$this->methodKey = $methodKey;
$this->value = $value;
}
public function getRequest() {
return $this->request;
}
public function getProvider() {
return $this->providerKey;
}
public function getModifier() {
return $this->modifierKey;
}
public function getMethod() {
return $this->methodKey;
}
public function getValue() {
return $this->value;
}
}