| 1 | <?php |
||
| 19 | abstract class Wordlift_Install { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * A {@link Wordlift_Log_Service} instance. |
||
| 23 | * |
||
| 24 | * @since 3.18.0 |
||
| 25 | * @access private |
||
| 26 | * @var \Wordlift_Log_Service $log A {@link Wordlift_Log_Service} instance. |
||
| 27 | */ |
||
| 28 | protected $log; |
||
| 29 | |||
| 30 | protected static $version = '0.0.0'; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Wordlift_Install_Service constructor. |
||
| 34 | * |
||
| 35 | * @since 3.18.0 |
||
| 36 | */ |
||
| 37 | public function __construct() { |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Return the current version of the installation. |
||
| 46 | * |
||
| 47 | * @since 3.18.0 |
||
| 48 | */ |
||
| 49 | public function get_version() { |
||
| 52 | |||
| 53 | abstract public function install(); |
||
| 54 | |||
| 55 | } |
||
| 56 |