You are here

MatchedModifiers.php in Persistent URL 8

Namespace

Drupal\purl

File

src/MatchedModifiers.php
View source
<?php

namespace Drupal\purl;

use Drupal\purl\Event\ModifierMatchedEvent;
class MatchedModifiers {

  /**
   * @var ModifierMatchedEvent[]
   */
  private $matched = array();

  /**
   * @var ModifierMatchedEvent[]
   */
  public function getMatched() {
    return $this->matched;
  }

  /**
   * @param ModifierMatchedEvent $event
   *
   * @return null
   */
  public function add(ModifierMatchedEvent $event) {
    $this->matched[] = $event;
  }

}

Classes

Namesort descending Description
MatchedModifiers