Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
ImpossiblePageMove.php
1<?php
2declare( strict_types = 1 );
3
4namespace MediaWiki\Extension\Translate\PageTranslation;
5
6use Exception;
7use SplObjectStorage;
8
15class ImpossiblePageMove extends Exception {
17 private $blockers;
18
19 public function __construct( SplObjectStorage $blockers ) {
20 parent::__construct();
21 $this->blockers = $blockers;
22 }
23
24 public function getBlockers(): SplObjectStorage {
25 return $this->blockers;
26 }
27}
Exception thrown when a translatable page move is not possible.