src/Traits/ComponentCommandTrait.php
public function getComponentName()
    {
        $component = $this->argument('component') ?: app('components')->getUsedNow();

        $component = app('components')->findOrFail($component);

        return $component->getStudlyName();
    }
public function getComponentName()
    {
        $component = $this->argument('component') ?: app('components')->getUsedNow();

        $component = app('components')->findOrFail($component);

        return $component->getStudlyName();
    }
public function getComponentName ( ) { $ component = $ this -> argument ( 'component' ) ? : app ( 'components' ) -> getUsedNow ( ) ; $ component = app ( 'components' ) -> findOrFail ( $ component ) ; return $ component -> getStudlyName ( ) ; }
Get the component name.

@return string
Get the component name .