Laravel\SparkInstaller\Installation\UpdateComposerFile::install PHP Метод

install() публичный Метод

Run the installation helper.
public install ( ) : void
Результат void
    public function install()
    {
        $composer = $this->getComposerConfiguration();
        // Next we will add the Spark and Cashier dependencies to the Composer array as
        // well as add the Spark "repository" to the configuration so Composer knows
        // where Spark is located. Spark will get installed using the path option.
        $composer = $this->addRepository($this->addSparkDependency($this->addCashierDependency($composer)));
        $this->writeComposerFile($composer);
    }