protected function activating(string $name): bool
    {
        if (\is_null($active = $this->refresh($name))) {
            return false;
        }

        $this->extensions->put($name, $active[$name]);
        $this->publish($name);

        $this->dispatcher->activating($name, $active[$name]);

        return true;
    }
protected function activating(string $name): bool
    {
        if (\is_null($active = $this->refresh($name))) {
            return false;
        }

        $this->extensions->put($name, $active[$name]);
        $this->publish($name);

        $this->dispatcher->activating($name, $active[$name]);

        return true;
    }
protected function activating ( string $ name ) : bool { if ( \ is_null ( $ active = $ this -> refresh ( $ name ) ) ) { return false ; } $ this -> extensions -> put ( $ name , $ active [ $ name ] ) ; $ this -> publish ( $ name ) ; $ this -> dispatcher -> activating ( $ name , $ active [ $ name ] ) ; return true ; }
Activating an extension.

@param  string  $name

@return bool
Activating an extension .