From 55c7bee2bd190b6f3c64fbbdc22597ea5381abff Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 12 Oct 2017 21:54:28 +0200 Subject: [PATCH] Remove package (is in framework) --- Models/Package.php | 63 ---------------------------------------------- 1 file changed, 63 deletions(-) delete mode 100644 Models/Package.php 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; - } -}