You are here

public static function Identifier::create in Markdown 8.2

Creates a new Identifier instance.

Parameters

string|object $value: An identifier string or an object that implements __toString().

Return value

static

File

src/Annotation/Identifier.php, line 77

Class

Identifier
Creates an identifier for use in annotation objects.

Namespace

Drupal\markdown\Annotation

Code

public static function create($value) {
  return new static($value);
}