public function getAll($name)
    {
        $nameString = TypeHinter::to('USVString', $name);
        $values = [];
        foreach ($this->list as $pair) {
            if ($pair[0] === $nameString) {
                $values[] = $pair[1];
            }
        }
        return $values;
    }
public function getAll($name)
    {
        $nameString = TypeHinter::to('USVString', $name);
        $values = [];
        foreach ($this->list as $pair) {
            if ($pair[0] === $nameString) {
                $values[] = $pair[1];
            }
        }
        return $values;
    }
public function getAll ( $ name ) { $ nameString = TypeHinter :: to ( 'USVString' , $ name ) ; $ values = [ ] ; foreach ( $ this -> list as $ pair ) { if ( $ pair [ 0 ] === $ nameString ) { $ values [ ] = $ pair [ 1 ] ; } } return $ values ; }
Returns the values of all name-value pairs whose name is name, in list order, and the empty sequence otherwise.
@link https://url.spec.whatwg.org/#dom-urlsearchparams-getallname URL Standard
@param string $name A USVString.
@return string[] An array of a USVString.
Returns the values of all name - value pairs whose name is name in list order and the empty sequence otherwise .