Documentation

JuegoSteam
in package

Clase que representa un juego de Steam.

Contiene el termino de budqueda, el nombre, el logo, o información de error si tiene.

Tags
author

Jesús Temprano Gallego

since
09/02/2026

Table of Contents

Properties

$error  : array<string|int, mixed>|null
$logo  : string|null
$nombre  : string|null
$terminoBusqueda  : string

Methods

__construct()  : mixed
Constructor de la clase JuegoSteam.
getError()  : array<string|int, mixed>
Obtiene la información de error asociada al juego.
getLogo()  : string|null
Obtiene la URL o ruta del logo del juego.
getNombre()  : string|null
Obtiene el nombre del juego.
getTerminoBusqueda()  : string
Obtiene el termino de budqueda para el juego.

Properties

$error

private array<string|int, mixed>|null $error

$terminoBusqueda

private string $terminoBusqueda

Methods

__construct()

Constructor de la clase JuegoSteam.

public __construct(string|null $terminoBusqueda[, string|null $nombre = null ][, string|null $logo = null ][, int|null $code = null ][, string|null $msg = null ]) : mixed
Parameters
$terminoBusqueda : string|null

Termino de budqueda para el juego.

$nombre : string|null = null

Nombre del juego.

$logo : string|null = null

URL o ruta del logo del juego.

$code : int|null = null

Código de error si existe.

$msg : string|null = null

Mensaje de error si existe.

getError()

Obtiene la información de error asociada al juego.

public getError() : array<string|int, mixed>
Return values
array<string|int, mixed>

Array con las claves "code" y "msg".

Obtiene la URL o ruta del logo del juego.

public getLogo() : string|null
Return values
string|null

Logo del juego.

getNombre()

Obtiene el nombre del juego.

public getNombre() : string|null
Return values
string|null

Nombre del juego.

getTerminoBusqueda()

Obtiene el termino de budqueda para el juego.

public getTerminoBusqueda() : string
Return values
string

Termino de budqueda para el juego.


        
On this page

Search results