src/Terranet/Localizer/Provider.php
public function fetchAll()
    {
        if (static::$languages === null) {
            static::$languages = $this->driver()->fetchAll();

            static::$languages = array_map(function ($language) {
                return new Locale($language);
            }, static::$languages);
        }

        return static::$languages;
    }
public function fetchAll()
    {
        if (static::$languages === null) {
            static::$languages = $this->driver()->fetchAll();

            static::$languages = array_map(function ($language) {
                return new Locale($language);
            }, static::$languages);
        }

        return static::$languages;
    }
public function fetchAll ( ) { if ( static :: $ languages === null ) { static :: $ languages = $ this -> driver ( ) -> fetchAll ( ) ; static :: $ languages = array_map ( function ( $ language ) { return new Locale ( $ language ) ; } , static :: $ languages ) ; } return static :: $ languages ; }
Fetch all active languages

@return mixed
Fetch all active languages