public function PeclExtension::getName in Markdown 8.2
Retrieves the name of a PHP extension.
The name is extracted from a plugin identifier that starts with "ext-".
Return value
string|null The PHP extension name, if it exists.
6 calls to PeclExtension::getName()
- PeclExtension::detectVersion in src/Annotation/ PeclExtension.php 
- Detects the version of the library installed.
- PeclExtension::getAvailableVersions in src/Annotation/ PeclExtension.php 
- Retrieves the available versions of the library.
- PeclExtension::getInstallCommand in src/Annotation/ PeclExtension.php 
- Retrieves the CLI command used to install the library, if any.
- PeclExtension::getPackageInfo in src/Annotation/ PeclExtension.php 
- Retrieves the package information for the PECL package.
- PeclExtension::getUrl in src/Annotation/ PeclExtension.php 
- Retrieves the definition's URL property as an object.
File
- src/Annotation/ PeclExtension.php, line 93 
Class
- PeclExtension
- PeclExtension Annotation.
Namespace
Drupal\markdown\AnnotationCode
public function getName() {
  return $this->id
    ->removeLeft('ext-');
}