Immutable value object.
More...
Immutable value object.
Beware that TermFallback
extends this class in an unintuitive way which arguably even violates the Liskov substitution principle.
- Since
- 0.7.3
- Copyright
- GPL-2.0-or-later
- Author
- Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >
◆ __construct()
Wikibase\DataModel\Term\Term::__construct |
( |
| $languageCode, |
|
|
| $text ) |
- Parameters
-
string | $languageCode | Language of the text. |
string | $text | |
- Exceptions
-
◆ equals()
Wikibase\DataModel\Term\Term::equals |
( |
| $target | ) |
|
◆ getLanguageCode()
Wikibase\DataModel\Term\Term::getLanguageCode |
( |
| ) |
|
◆ getText()
Wikibase\DataModel\Term\Term::getText |
( |
| ) |
|
◆ $languageCode
Wikibase\DataModel\Term\Term::$languageCode |
|
private |
◆ $text
Wikibase\DataModel\Term\Term::$text |
|
private |
The documentation for this class was generated from the following file:
- lib/packages/wikibase/data-model/src/Term/Term.php