for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Installs: Install interface.
*
* The interface for Installations.
* @since 3.18.0
* @package Wordlift
* @subpackage Wordlift/install
*/
* Define the {@link Wordlift_Install} interface.
abstract class Wordlift_Install {
* A {@link Wordlift_Log_Service} instance.
* @access private
* @var \Wordlift_Log_Service $log A {@link Wordlift_Log_Service} instance.
protected $log;
protected static $version = '0.0.0';
* Wordlift_Install_Service constructor.
public function __construct() {
$this->log = Wordlift_Log_Service::get_logger( 'Wordlift_Install_' . str_replace( '.', '_', static::$version ) );
$this->log->trace( 'Install package v' . static::$version . ' loaded.' );
}
* Return the current version of the installation.
public function get_version() {
return static::$version;
abstract public function install();