public __construct ( string $path, |
||
$path | string | path of plugin composer file |
$scanner | plugin scanner | |
$packagistUrl | string | packagist url |
public function __construct($path, PluginScanner $scanner, $packagistUrl)
{
require_once __DIR__ . '/helpers.php';
$this->scanner = $scanner;
$this->path = $path;
$this->packagistUrl = $packagistUrl;
$this->load();
}