createdAt = new \DateTime('now'); $this->profile = new Profile(); } public function getId() : int { return $this->id; } public function getNumber() : string { return $this->number; } public function setNumber(string $number) : void { $this->number = $number; } public function getReverseNumber() { return $this->numberReverse; } public function setReverseNumber($rev_no) : void { if (!\is_scalar($rev_no)) { throw new \Exception(); } $this->numberReverse = $rev_no; } public function getStatus() : int { return $this->status; } public function setStatus(int $status) : void { $this->status = $status; } public function getType() : int { return $this->type; } public function setType(int $type) : void { $this->type = $type; } public function getTaxId() : int { return $this->taxId; } public function setTaxId(int $taxId) : void { $this->taxId = $taxId; } public function getInfo() : string { return $this->info; } public function setInfo(string $info) : void /* : void */ { $this->info = $info; } public function getCreatedAt() : \DateTime { return $this->createdAt; } public function getProfile() : Profile { return $this->profile; } public function setProfile(Profile $profile) : void { $this->profile = $profile; } public function getFiles() : array { return $this->files; } public function addFile(Media $file) : void { $this->files[] = $file; } public function getAddresses() : array { return $this->address; } public function getContactElements() : array { return $this->contactElements; } }