src/CommonServiceProvider.php
public function getPackageName()
    {
        $reflection = new \ReflectionClass($this);
        $inflector = new Inflector();

        return str_replace('_', '-', $inflector->tableize(str_replace('ServiceProvider', '', $reflection->getShortName())));
    }
public function getPackageName()
    {
        $reflection = new \ReflectionClass($this);
        $inflector = new Inflector();

        return str_replace('_', '-', $inflector->tableize(str_replace('ServiceProvider', '', $reflection->getShortName())));
    }
public function getPackageName ( ) { $ reflection = new \ ReflectionClass ( $ this ) ; $ inflector = new Inflector ( ) ; return str_replace ( '_' , '-' , $ inflector -> tableize ( str_replace ( 'ServiceProvider' , '' , $ reflection -> getShortName ( ) ) ) ) ; }
Return package name.
Return package name .