public function Identifier::startsWith in Markdown 8.2
Indicates whether the identifier starts with a specific value.
Parameters
string $value: The value to test.
Return value
bool TRUE or FALSE
1 call to Identifier::startsWith()
- Identifier::removeLeft in src/
Annotation/ Identifier.php - Removes a specific string from the left side of the identifier.
File
- src/
Annotation/ Identifier.php, line 241
Class
- Identifier
- Creates an identifier for use in annotation objects.
Namespace
Drupal\markdown\AnnotationCode
public function startsWith($value) {
return strpos($this->value, $value) === 0;
}