MediaWiki
master
PathSegmentException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Rest\PathTemplateMatcher
;
4
5
use Exception;
6
10
class
PathSegmentException
extends
Exception {
11
public
$template
;
12
public
$userData
;
13
20
public
function
__construct
(
$template
,
$userData
) {
21
$this->
template
=
$template
;
22
$this->userData =
$userData
;
23
parent::__construct(
"Unable to add path template \"$template\" since it contains "
.
24
"an empty path segment."
);
25
}
26
}
MediaWiki\Rest\PathTemplateMatcher\PathSegmentException
Definition
PathSegmentException.php:10
MediaWiki\Rest\PathTemplateMatcher\PathSegmentException\__construct
__construct( $template, $userData)
Definition
PathSegmentException.php:20
MediaWiki\Rest\PathTemplateMatcher\PathSegmentException\$userData
$userData
Definition
PathSegmentException.php:12
MediaWiki\Rest\PathTemplateMatcher\PathSegmentException\$template
$template
Definition
PathSegmentException.php:11
MediaWiki\Rest\PathTemplateMatcher
Definition
ModuleConfigurationException.php:3
includes
Rest
PathTemplateMatcher
PathSegmentException.php
Generated on Fri May 17 2024 05:24:08 for MediaWiki by
1.10.0