for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of datamolino client.
*
* (c) 2018 cwd.at GmbH <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Cwd\Datamolino\Model;
class User
{
/** @var int */
private $id;
/** @var string */
private $email;
private $name;
private $surname;
/**
* @return int
public function getId(): int
return $this->id;
}
* @param int $id
* @return User
public function setId(int $id): User
$this->id = $id;
return $this;
* @return string
public function getEmail(): string
return $this->email;
* @param string $email
public function setEmail(string $email): User
$this->email = $email;
public function getName(): string
return $this->name;
* @param string $name
public function setName(string $name): User
$this->name = $name;
public function getSurname(): string
return $this->surname;
* @param string $surname
public function setSurname(string $surname): User
$this->surname = $surname;