diff --git a/Models/Package.php b/Models/Package.php deleted file mode 100644 index 4e013ca..0000000 --- a/Models/Package.php +++ /dev/null @@ -1,63 +0,0 @@ -src = $src; - $this->dest = $dest; - } - - public function unpack() : bool - { - if(!Zip::unpack($this->src, $this->dest)) { - return false; - } - - return true; - } - - public function validated() : bool - { - if(!$this->validateSignature()) { - throw new InvalidSignatureException(); - } - - if(!$this->validateVersion()) { - throw new InvalidVersionException(); - } - - return true; - } - - private function validateSignature() : bool - { - return true; - } - - private function validateVersion() : bool - { - return true; - } -}