Documentation

FotoNasa
in package

Clase que representa la foto del día de la nasa con su título y URL.

Permite acceder a los distintos atributos de la foto.

Tags
author

Alejandro De la Huerga.

since
18/01/2026
version
1.0.0

Última actualización 18/01/2026

Table of Contents

Properties

$explicacion  : mixed
$fecha  : mixed
$foto  : mixed
$media_type  : mixed
$titulo  : mixed
$version_servicio  : mixed

Methods

__construct()  : mixed
Funcition __construct Función constructor para poder crear un objeto FotoNasa.
getExplicacion()  : mixed
Get the value of explicacion
getFecha()  : mixed
Get the value of fecha
getFoto()  : mixed
Get the value of foto
getMediaType()  : mixed
Get the value of media_type
getTitulo()  : mixed
Get the value of titulo
getVersionServicio()  : mixed
Get the value of version_servicio

Properties

$version_servicio

private mixed $version_servicio

Methods

__construct()

Funcition __construct Función constructor para poder crear un objeto FotoNasa.

public __construct(mixed $titulo, mixed $explicacion, mixed $media_type, mixed $version_servicio, string $foto, mixed $fecha) : mixed
Parameters
$titulo : mixed
$explicacion : mixed
$media_type : mixed
$version_servicio : mixed
$foto : string

URL con la foto del día de la nasa.

$fecha : mixed
Tags
since
18/01/2026
author

Alejandro De la Huerga.

version
1.0.0

getExplicacion()

Get the value of explicacion

public getExplicacion() : mixed

getFecha()

Get the value of fecha

public getFecha() : mixed

getFoto()

Get the value of foto

public getFoto() : mixed

getMediaType()

Get the value of media_type

public getMediaType() : mixed

getTitulo()

Get the value of titulo

public getTitulo() : mixed

getVersionServicio()

Get the value of version_servicio

public getVersionServicio() : mixed

        
On this page

Search results