patches/Patch.php
changeset 30 5751ca5a55c0
equal deleted inserted replaced
29:42432a207bd0 30:5751ca5a55c0
       
     1 <?php
       
     2 
       
     3 /**
       
     4  * Patch-Management for The BFW Framework
       
     5  *
       
     6  * @copyright Copyright(C) 2015 4customers
       
     7  * @author    Markus Bröker<mbroeker@4customers.de>
       
     8  */
       
     9 define("VERSION", "0.1");
       
    10 require_once '../config/config.php';
       
    11 
       
    12 use bfw\database\Database;
       
    13 
       
    14 abstract class Patch {
       
    15 
       
    16     protected $db;
       
    17 
       
    18     public function __construct() {
       
    19         $this->db = Database::getInstance();
       
    20 
       
    21         printf("PatchManagement Version %s\n\n", VERSION);
       
    22     }
       
    23 
       
    24     abstract public function setUp();
       
    25 
       
    26     abstract public function tearDown();
       
    27 }