mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
Major overhauling and refactoring of Magallanes Command and Tasks modulairty and workflow.
ADVICE: there is no Backwards Compatibility with custom tasks, those using the _config instance will be broken or those using the getEnvironmentName().
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
abstract class Mage_Command_CommandAbstract
|
||||
{
|
||||
protected $_config = null;
|
||||
|
||||
public abstract function run();
|
||||
|
||||
public function setConfig(Mage_Config $config)
|
||||
{
|
||||
$this->_config = $config;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return Mage_Config
|
||||
*/
|
||||
public function getConfig()
|
||||
{
|
||||
return $this->_config;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user