You are here

protected function InstallableLibrary::detectVersion in Markdown 8.2

Detects the version of the library installed.

Return value

string|string[]|void The detected version, if any. If an array is returned, the first item should be the raw version provided by the library, the second item may contain additional meta information appended to the raw version to denote a more detailed version (i.e. bundled with another library).

1 call to InstallableLibrary::detectVersion()
InstallableLibrary::__construct in src/Annotation/InstallableLibrary.php
AnnotationObject constructor.
2 methods override InstallableLibrary::detectVersion()
ComposerPackage::detectVersion in src/Annotation/ComposerPackage.php
Detects the installed version of a Composer package.
PeclExtension::detectVersion in src/Annotation/PeclExtension.php
Detects the version of the library installed.

File

src/Annotation/InstallableLibrary.php, line 118

Class

InstallableLibrary

Namespace

Drupal\markdown\Annotation

Code

protected function detectVersion() {
}