Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Mensaje{
- private $id;
- private $nombre;
- private $correo;
- private $mensaje;
- public function __construct(){
- // HOLI :D
- }
- public function getId(){
- return $this->id;
- }
- public function setId($id){
- return $this->id = $id;
- }
- public function getNombre(){
- return $this->nombre;
- }
- public function setNombre($nombre){
- return $this->nombre = $nombre;
- }
- public function getCorreo(){
- return $this->correo;
- }
- public function setCorreo($correo){
- return $this->correo = $correo;
- }
- public function getMensaje(){
- return $this->mensaje;
- }
- public function setMensaje($mensaje){
- return $this->mensaje = $mensaje;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment