public function getBrowser(string $browser) : Browser
    {
        if (!array_key_exists($browser, $this->browsers)) {
            throw new \OutOfBoundsException(
                'Browser "' . $browser . '" does not exist in data'
            );
        }

        return $this->browsers[$browser];
    }
public function getBrowser(string $browser) : Browser
    {
        if (!array_key_exists($browser, $this->browsers)) {
            throw new \OutOfBoundsException(
                'Browser "' . $browser . '" does not exist in data'
            );
        }

        return $this->browsers[$browser];
    }
public function getBrowser ( string $ browser ) : Browser { if ( ! array_key_exists ( $ browser , $ this -> browsers ) ) { throw new \ OutOfBoundsException ( 'Browser "' . $ browser . '" does not exist in data' ) ; } return $ this -> browsers [ $ browser ] ; }
Get a single browser data array

@param string $browser

@throws \OutOfBoundsException
@throws \UnexpectedValueException

@return Browser
Get a single browser data array