wiki.techinc.nl/includes/page/ExistingPageRecord.php
Timo Tijhof e3659dfef9 page: Improve class documentation briefs
* Indicate whether a class is a service (to be found via MediaWikiServices)
  or a lower-level class for certain backend logic.

* Indicate how to create / where to get instances of non-service classes,
  e.g. point to the relevant service.

* Remove copy-pasta text in file docblock that is unrelated,
  and incorporate any relevant text into the class docblock instead.

Change-Id: Ia3b9b8c22da4d7160c5e14ae6a6a7c9dca30e9db
2022-04-12 00:49:41 +00:00

23 lines
456 B
PHP

<?php
namespace MediaWiki\Page;
/**
* Data record representing a page that currently exists as
* an editable page on a wiki.
*
* @note This is intended to become an alias for PageRecord, once PageRecord is guaranteed
* to be immutable and to represent existing pages.
*
* @stable to type
* @since 1.36
*/
interface ExistingPageRecord extends PageRecord {
/**
* Always true.
*
* @return true
*/
public function exists(): bool;
}