Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (32 sloc) 873 Bytes
<?php
/**
* @link https://craftcms.com/
* @copyright Copyright (c) Pixel & Tonic, Inc.
* @license https://craftcms.github.io/license/
*/
namespace craft\events;
use yii\base\Event;
/**
* RouteEvent class.
*
* @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
* @since 3.0.0
*/
class RouteEvent extends Event
{
// Properties
// =========================================================================
/**
* @var array|null The URI as defined by the user. This is an array where each element is either a
* string or an array containing the name of a subpattern and the subpattern.
*/
public $uriParts;
/**
* @var string|null The template to route matching requests to
*/
public $template;
/**
* @var string|null The site UID the route should be limited to, if any
*/
public $siteUid;
}
You can’t perform that action at this time.