- Since
- 1.1
- Copyright
- GPL-2.0-or-later
- Author
- Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
◆ __construct()
Wikibase\DataModel\Services\Statement\StatementGuidValidator::__construct |
( |
EntityIdParser | $entityIdParser | ) |
|
◆ validate()
Wikibase\DataModel\Services\Statement\StatementGuidValidator::validate |
( |
| $guid | ) |
|
Validates a statement guid.
- Since
- 0.4
- Parameters
-
- Returns
- bool
◆ validateFormat()
Wikibase\DataModel\Services\Statement\StatementGuidValidator::validateFormat |
( |
| $guid | ) |
|
Basic validation for statement guid format.
- Since
- 0.4
- Parameters
-
- Returns
- bool
◆ validateGuid()
Wikibase\DataModel\Services\Statement\StatementGuidValidator::validateGuid |
( |
| $guid | ) |
|
|
private |
Validate the second part of a statement guid, after the $.
- Since
- 0.4
- Parameters
-
- Returns
- bool
◆ validateStatementGuidPrefix()
Wikibase\DataModel\Services\Statement\StatementGuidValidator::validateStatementGuidPrefix |
( |
| $prefixedId | ) |
|
|
private |
Validate the statement guid prefix is a valid entity id.
- Since
- 0.4
- Parameters
-
- Returns
- bool
◆ $entityIdParser
Wikibase\DataModel\Services\Statement\StatementGuidValidator::$entityIdParser |
|
private |
The documentation for this class was generated from the following file: