src/Model/Locale.php
public function getChain()
    {
        if ($this->chain) {
            return $this->chain;
        }

        // Build list
        $this->chain = ArrayList::create();
        $this->chain->push($this);
        $this->chain->merge($this->Fallbacks());

        return $this->chain;
    }
public function getChain()
    {
        if ($this->chain) {
            return $this->chain;
        }

        // Build list
        $this->chain = ArrayList::create();
        $this->chain->push($this);
        $this->chain->merge($this->Fallbacks());

        return $this->chain;
    }
public function getChain ( ) { if ( $ this -> chain ) { return $ this -> chain ; } // Build list $ this -> chain = ArrayList :: create ( ) ; $ this -> chain -> push ( $ this ) ; $ this -> chain -> merge ( $ this -> Fallbacks ( ) ) ; return $ this -> chain ; }
Get chain of all locales that should be preferred when this locale is current

@return ArrayList
Get chain of all locales that should be preferred when this locale is current