You are here

protected static function Identifier::converter in Markdown 8.2

Retrieves the converter.

Return value

\Symfony\Component\Serializer\NameConverter\CamelCaseToSnakeCaseNameConverter

File

src/Annotation/Identifier.php, line 62

Class

Identifier
Creates an identifier for use in annotation objects.

Namespace

Drupal\markdown\Annotation

Code

protected static function converter() {
  if (!static::$converter) {
    static::$converter = new CamelCaseToSnakeCaseNameConverter();
  }
  return static::$converter;
}