src/Processors/Activator.php
public function activate(Listener $listener, Fluent $extension)
    {
        if ($this->factory->started($extension->get('name'))) {
            return $listener->abortWhenRequirementMismatched();
        }

        return $this->execute($listener, 'activation', $extension, function (Factory $factory, $name) {
            $factory->activate($name);
        });
    }
public function activate(Listener $listener, Fluent $extension)
    {
        if ($this->factory->started($extension->get('name'))) {
            return $listener->abortWhenRequirementMismatched();
        }

        return $this->execute($listener, 'activation', $extension, function (Factory $factory, $name) {
            $factory->activate($name);
        });
    }
Activate an extension.

@param  \Orchestra\Contracts\Extension\Listener\Activator  $listener
@param  \Illuminate\Support\Fluent  $extension

@return mixed