-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d42ad3c
commit 86f9b42
Showing
5 changed files
with
91 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
|
||
namespace VaasSdk\Message; | ||
|
||
class Detection | ||
{ | ||
public ?int $engine; | ||
public string $fileName; | ||
public string $virus; | ||
|
||
public function getEngine(): int | ||
{ | ||
return $this->engine; | ||
} | ||
|
||
public function setEngine(int $engine): void | ||
{ | ||
$this->engine = $engine; | ||
} | ||
|
||
public function getFileName(): string | ||
{ | ||
return $this->fileName; | ||
} | ||
|
||
public function setFileName(string $fileName): void | ||
{ | ||
$this->fileName = $fileName; | ||
} | ||
|
||
public function getVirus(): string | ||
{ | ||
return $this->virus; | ||
} | ||
|
||
public function setVirus(string $virus): void | ||
{ | ||
$this->virus = $virus; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
namespace VaasSdk\Message; | ||
|
||
class LibMagic | ||
{ | ||
public string $fileType; | ||
public string $mimeType; | ||
|
||
public function getMimeType(): string | ||
{ | ||
return $this->mimeType; | ||
} | ||
|
||
public function setMimeType(string $mimeType): void | ||
{ | ||
$this->mimeType = $mimeType; | ||
} | ||
|
||
public function getFileType(): string | ||
{ | ||
return $this->fileType; | ||
} | ||
|
||
public function setFileType(string $fileType): void | ||
{ | ||
$this->fileType = $fileType; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters