function RequireEventTrait::getDevPackages

Gets the dev packages.

Return value

string[] An array of packages where the values are version constraints and keys are package names in the form `vendor/name`. Packages without a version constraint will default to `*`.

File

core/modules/package_manager/src/Event/RequireEventTrait.php, line 70

Class

RequireEventTrait
Common methods for pre- and post-require events.

Namespace

Drupal\package_manager\Event

Code

public function getDevPackages() : array {
    return $this->getKeyedPackages($this->devPackages);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.