protected function getExtension($vendor, $package = null)
    {
        $name = (is_null($package) ? $vendor : implode('/', [$vendor, $package]));

        return new Fluent(['name' => $name, 'uid' => $name]);
    }
protected function getExtension($vendor, $package = null)
    {
        $name = (is_null($package) ? $vendor : implode('/', [$vendor, $package]));

        return new Fluent(['name' => $name, 'uid' => $name]);
    }
protected function getExtension ( $ vendor , $ package = null ) { $ name = ( is_null ( $ package ) ? $ vendor : implode ( '/' , [ $ vendor , $ package ] ) ) ; return new Fluent ( [ 'name' => $ name , 'uid' => $ name ] ) ; }
Get extension information.

@param  string  $vendor
@param  string|null  $package

@return \Illuminate\Support\Fluent
Get extension information .