src/Concerns/Dispatchable.php
public function finish()
    {
        $this->extensions->each(function ($options, $name) {
            $this->dispatcher->finish($name, $options);
        });

        $this->extensions = new Collection();
        $this->booted = false;

        return $this;
    }
public function finish()
    {
        $this->extensions->each(function ($options, $name) {
            $this->dispatcher->finish($name, $options);
        });

        $this->extensions = new Collection();
        $this->booted = false;

        return $this;
    }
Shutdown all extensions.

@return $this