public function get($name)
    {
        $nameString = TypeHinter::to('USVString', $name);
        $value = null;
        foreach ($this->list as $pair) {
            if ($pair[0] === $nameString) {
                $value = $pair[1];
                break;
            }
        }
        return $value;
    }
public function get($name)
    {
        $nameString = TypeHinter::to('USVString', $name);
        $value = null;
        foreach ($this->list as $pair) {
            if ($pair[0] === $nameString) {
                $value = $pair[1];
                break;
            }
        }
        return $value;
    }
public function get ( $ name ) { $ nameString = TypeHinter :: to ( 'USVString' , $ name ) ; $ value = null ; foreach ( $ this -> list as $ pair ) { if ( $ pair [ 0 ] === $ nameString ) { $ value = $ pair [ 1 ] ; break ; } } return $ value ; }
Returns the value of the first name-value pair whose name is name, and null if there is no such pair.
@link https://url.spec.whatwg.org/#dom-urlsearchparams-getname URL Standard
@param string $name
@return string|null A USVString or null.
Returns the value of the first name - value pair whose name is name and null if there is no such pair .