Merge "docs: Fix typo"
[mediawiki.git] / includes / page / ExistingPageRecord.php
blob8805e89dce8146a19fc844e8918ab1eea9c55a50
1 <?php
3 namespace MediaWiki\Page;
5 /**
6 * Data record representing a page that currently exists as
7 * an editable page on a wiki.
9 * @note This is intended to become an alias for PageRecord, once PageRecord is guaranteed
10 * to be immutable and to represent existing pages.
12 * @see https://www.mediawiki.org/wiki/Manual:Modeling_pages
14 * @stable to type
15 * @since 1.36
17 interface ExistingPageRecord extends PageRecord {
19 /**
20 * Always true.
22 * @return true
24 public function exists(): bool;