src/Form/Contact/Person.php
<?php
/*
* This file is part of the VantomasWebsite package.
*
* (c) Thomas Juhnke <dev@van-tomas.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace DreadLabs\VantomasWebsite\Form\Contact;
/**
* Contact form person value object
*
* @author Thomas Juhnke <dev@van-tomas.de>
*/
class Person
{
/**
* @var string
*/
protected $firstName;
/**
* @var string
*/
protected $lastName;
/**
* @var string
*/
protected $email;
/**
* Honey pot field
*
* @var string
*/
protected $city;
/**
* Returns the firstname
*
* @return string
*/
public function getFirstName()
{
return $this->firstName;
}
/**
* Sets the firstname
*
* @param string $firstName
*
* @return void
*/
public function setFirstName($firstName)
{
$this->firstName = $firstName;
}
/**
* Returns the last name
*
* @return string
*/
public function getLastName()
{
return $this->lastName;
}
/**
* Sets the last name
*
* @param string $lastName
*
* @return void
*/
public function setLastName($lastName)
{
$this->lastName = $lastName;
}
/**
* Returns the email
*
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* Sets the email
*
* @param string $email
*
* @return void
*/
public function setEmail($email)
{
$this->email = $email;
}
/**
* Returns the city
*
* @return string
*/
public function getCity()
{
return $this->city;
}
/**
* Sets the city
*
* @param string $city
*
* @return void
*/
public function setCity($city)
{
$this->city = $city;
}
}