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
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
$explicacion
private
mixed
$explicacion
$fecha
private
mixed
$fecha
$foto
private
mixed
$foto
$media_type
private
mixed
$media_type
$titulo
private
mixed
$titulo
$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
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