Skip to content

Instantly share code, notes, and snippets.

@webflo
Created January 29, 2021 14:51
Show Gist options
  • Save webflo/ccb4316085f199551037dff4fdcb3769 to your computer and use it in GitHub Desktop.
Save webflo/ccb4316085f199551037dff4fdcb3769 to your computer and use it in GitHub Desktop.
<?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