public function destroy($id)
    {
        $language = Language::find($id);
        $destroyResult = parent::destroy($id);

        if ($destroyResult) {
            \File::deleteDirectory(resource_path('lang/'.$language->abbr));
        }

        return $destroyResult;
    }
public function destroy($id)
    {
        $language = Language::find($id);
        $destroyResult = parent::destroy($id);

        if ($destroyResult) {
            \File::deleteDirectory(resource_path('lang/'.$language->abbr));
        }

        return $destroyResult;
    }
public function destroy ( $ id ) { $ language = Language :: find ( $ id ) ; $ destroyResult = parent :: destroy ( $ id ) ; if ( $ destroyResult ) { \ File :: deleteDirectory ( resource_path ( 'lang/' . $ language -> abbr ) ) ; } return $ destroyResult ; }
After delete remove also the language folder.

@param int $id

@return string
After delete remove also the language folder .