mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-13 11:12:16 +02:00
21 lines
345 B
PHP
21 lines
345 B
PHP
|
<?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;
|
||
|
}
|
||
|
}
|