for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the G.L.S.R. Apps package.
*
* (c) Dev-Int Création <[email protected]>.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Domain\Administration\Company\Command;
use Domain\Common\Model\ContactUuid;
use Domain\Common\Model\VO\EmailField;
use Domain\Common\Model\VO\NameField;
use Domain\Common\Model\VO\PhoneField;
final class EditCompany extends AbstractCompanyCommand
{
private string $uuid;
public function __construct(
ContactUuid $uuid,
NameField $name,
string $address,
string $zipCode,
string $town,
string $country,
PhoneField $phone,
PhoneField $facsimile,
EmailField $email,
string $contact,
PhoneField $cellPhone
) {
$this->uuid = $uuid->toString();
parent::__construct(
$name,
$address,
$zipCode,
$town,
$country,
$phone,
$facsimile,
$email,
$contact,
$cellPhone
);
}
public function uuid(): string
return $this->uuid;