public function getViewStub($key)
    {
        $stubPath = $this->laravel->make('config')->get('laravel-widgets.widget_' . $key . '_stub');

        return $this->laravel->basePath() . '/' . $stubPath;
    }
public function getViewStub($key)
    {
        $stubPath = $this->laravel->make('config')->get('laravel-widgets.widget_' . $key . '_stub');

        return $this->laravel->basePath() . '/' . $stubPath;
    }
public function getViewStub ( $ key ) { $ stubPath = $ this -> laravel -> make ( 'config' ) -> get ( 'laravel-widgets.widget_' . $ key . '_stub' ) ; return $ this -> laravel -> basePath ( ) . '/' . $ stubPath ; }
Get widget stub by key.

@param string $key
@return string
Get widget stub by key .