public static function getISOBySlug($slug)
    {
        $data = collect(self::ISOlist());
        return $data->where('slug', $slug)->first();
    }
public static function getISOBySlug($slug)
    {
        $data = collect(self::ISOlist());
        return $data->where('slug', $slug)->first();
    }
public static function getISOBySlug ( $ slug ) { $ data = collect ( self :: ISOlist ( ) ) ; return $ data -> where ( 'slug' , $ slug ) -> first ( ) ; }
Get a ISO language by it slug.

@param  string $slug
@return object|null
Get a ISO language by it slug .