Manual:TitleValue.php

The TitleValue class implements the LinkTarget interface. It represents a page (or page fragment) title within MediaWiki. In contrast to Title, this is designed to be a plain value object. That is, it is immutable, does not use global state, and causes no side effects.