* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ namespace PrestaShop\Module\PrestashopFacebook\DTO\Object; use JsonSerializable; class User implements JsonSerializable { /** * @var string|null */ private $email; public function __construct($email) { $this->email = $email; } /** * @return string|null */ public function getEmail() { return $this->email; } public function jsonSerialize() { return [ 'email' => $this->getEmail(), ]; } }