blob: 9612f050396c68d494197d02432449bd7a4fed5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?php
namespace Mediawiki\Api;
use Mediawiki\DataModel\Pages;
/**
* Class CategoryLoopException
* @package Mediawiki\Api
*/
class CategoryLoopException extends \Exception {
/** @var Pages */
protected $categoryPath;
/**
* @param Pages $path
*/
public function setCategoryPath( Pages $path ) {
$this->categoryPath = $path;
}
/**
* Get the path of Pages that comprise the category loop. The first item in this list is also a
* child page of the last item.
* @return Pages The set of category Pages that comprise the category loop.
*/
public function getCategoryPath() {
return $this->categoryPath;
}
}
|