public function get($num)
    {
        if (isset($this->cache[$num])) {
            return $this->cache[$num];
        }

        return $this->cache[$num] = $this->execute($num);
    }
public function get($num)
    {
        if (isset($this->cache[$num])) {
            return $this->cache[$num];
        }

        return $this->cache[$num] = $this->execute($num);
    }
public function get ( $ num ) { if ( isset ( $ this -> cache [ $ num ] ) ) { return $ this -> cache [ $ num ] ; } return $ this -> cache [ $ num ] = $ this -> execute ( $ num ) ; }
Get the plural form for a number.
Caches the value for repeated calls.

@param int $num Number to get plural form for.
@return int PluralForms form value.
@throws Exception
Get the plural form for a number . Caches the value for repeated calls .