$name; private $mailAddress; private $phoneNumber; /** * Employee constructor. * @param $employeeNumber * @param $name * @param $mailAddress * @param $phoneNumber */ public function __construct(EmployeeNumber $employeeNumber, Name $name, string $mailAddress, PhoneNumber $phoneNumber) { $this->employeeNumber = $employeeNumber; $this->name = $name; $this->mailAddress = $mailAddress; $this->phoneNumber = $phoneNumber; } public function toString() :string { return "Employee{" . "employeeNumber=" . $this->employeeNumber . ", name=" . $this->name . ", phoneNumber=" . $this->phoneNumber . ", mailAddress=" . $this->mailAddress .