src/DriverAssets/Database/LanguageRepository.php
public function getLocaleById($id) {
        $locale = $this->source
            ->where('id', $id)
            ->first();

        return isset($locale->id) ? $locale->locale : null;
    }
public function getLocaleById($id) {
        $locale = $this->source
            ->where('id', $id)
            ->first();

        return isset($locale->id) ? $locale->locale : null;
    }
public function getLocaleById ( $ id ) { $ locale = $ this -> source -> where ( 'id' , $ id ) -> first ( ) ; return isset ( $ locale -> id ) ? $ locale -> locale : null ; }
Get locale by id .

@param $id
@return null
Get locale by id .