src/Extension/Extension.php
protected function assignId()
    {
        list($vendor, $package) = explode('/', $this->name);
        $package = str_replace(['flarum-ext-', 'flarum-'], '', $package);
        $this->id = "$vendor-$package";
    }
protected function assignId()
    {
        list($vendor, $package) = explode('/', $this->name);
        $package = str_replace(['flarum-ext-', 'flarum-'], '', $package);
        $this->id = "$vendor-$package";
    }
protected function assignId ( ) { list ( $ vendor , $ package ) = explode ( '/' , $ this -> name ) ; $ package = str_replace ( [ 'flarum-ext-' , 'flarum-' ] , '' , $ package ) ; $ this -> id = "$vendor-$package" ; }
Assigns the id for the extension used globally.
Assigns the id for the extension used globally .