Created
January 29, 2021 14:51
-
-
Save webflo/ccb4316085f199551037dff4fdcb3769 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace DrupalFinderPlugin; | |
/** | |
* This class is generated by webflo/drupal-finder-plugin, specifically by | |
* @see \DrupalFinderPlugin\Installer | |
* | |
* This file is overwritten at every run of `composer install` or `composer update`. | |
*/ | |
final class Info | |
{ | |
/** | |
* Medata about this composer project. | |
* | |
* Dont read this array from your calling code, but use the provided method instead. | |
* | |
* @var array | |
* | |
* @internal | |
*/ | |
const METADATA = array ( | |
'vendorDir' => '../vendor', | |
'vendorBinDir' => '../vendor/bin', | |
); | |
/** | |
* vendor-dir, relative to DRUPAL_ROOT. | |
* | |
* @return string | |
*/ | |
public static function getVendorDir() { | |
return self::METADATA['vendorDir']; | |
} | |
/** | |
* vendor-bin-dir, relative to DRUPAL_ROOT. | |
* | |
* @return string | |
*/ | |
public static function getVendorBinDir() { | |
return self::METADATA['vendorBinDir']; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment