mirror of
https://github.com/e107inc/e107.git
synced 2025-10-12 21:45:11 +02:00
- MOD: Renamed lib/deployers/cpanel_deployer.php to lib/deployers/cPanelDeployer.php - MOD: Moved responsibility of reconfiguring Codeception modules to the deployers. - NEW: Abstract class Deployer to standardize the interface to Deployers - NEW: Acceptance tests now support unlinkE107ConfigFromTestEnvironment - MOD: Removed null checks for the Deployer in the Base Module - MOD: Improved public method naming in the Base Module - MOD: DeployerFactory always returns a Deployer implementation now. - MOD: InstallCest always clears out the e107_config.php file before each test.
29 lines
440 B
PHP
29 lines
440 B
PHP
<?php
|
|
|
|
abstract class Deployer
|
|
{
|
|
abstract public function start();
|
|
abstract public function stop();
|
|
|
|
protected $components = array();
|
|
|
|
/**
|
|
* @param array $components
|
|
*/
|
|
public function setComponents($components)
|
|
{
|
|
$this->components = $components;
|
|
}
|
|
|
|
/**
|
|
* Methods not implemented
|
|
*
|
|
* @param $method_name
|
|
* @param $arguments
|
|
* @return null
|
|
*/
|
|
public function __call($method_name, $arguments)
|
|
{
|
|
return null;
|
|
}
|
|
} |