class Composer

Provides static functions for composer script events.

Hierarchy

See also

https://getcomposer.org/doc/articles/scripts.md

File

core/lib/Drupal/Core/Composer/Composer.php, line 15

Namespace

Drupal\Core\Composer

Members

Name Modifiers Type Description
Composer::$packageToCleanup protected static property
Composer::deleteRecursive protected static function Helper method to remove directories and the files they contain.
Composer::ensureHtaccess public static function Ensures that .htaccess and web.config files are present in Composer root.
Composer::findPackageKey protected static function Find the array key for a given package name with a case-insensitive search.
Composer::preAutoloadDump public static function Add vendor classes to Composer's static classmap.
Composer::vendorTestCodeCleanup public static function Remove possibly problematic test files from vendored projects.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Composer!Composer.php/class/Composer/8.1.x