for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @license LGPLv3, http://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2019
* @package Controller
* @subpackage Common
*/
namespace Aimeos\Controller\Common\Common\Import\Xml\Processor;
* Abstract class with common methods for all XML import processors
*
abstract class Base
{
use \Aimeos\Controller\Common\Common\Import\Traits;
private $context;
* Initializes the object
* @param \Aimeos\MShop\Context\Item\Iface $context Context object
public function __construct( \Aimeos\MShop\Context\Item\Iface $context )
$this->context = $context;
}
* Cleanup before removing the object
public function __destruct()
$this->saveTypes();
* Returns the context item
* @return \Aimeos\MShop\Context\Item\Iface Context object
protected function getContext()
return $this->context;