for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* TechDivision\Import\Product\Actions\Processors\ProductVarcharPersistProcessor
*
* NOTICE OF LICENSE
* This source file is subject to the Open Software License (OSL 3.0)
* that is available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* PHP version 5
* @author Tim Wagner <[email protected]>
* @copyright 2016 TechDivision GmbH <[email protected]>
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @link https://github.com/techdivision/import-product
* @link http://www.techdivision.com
*/
namespace TechDivision\Import\Product\Actions\Processors;
use TechDivision\Import\Actions\Processors\AbstractPersistProcessor;
* The product varchar attribute persist processor implementation.
class ProductVarcharPersistProcessor extends AbstractPersistProcessor
getStatement
{
* Return's the array with the SQL statements that has to be prepared.
* @return array The SQL statements to be prepared
* @see \TechDivision\Import\Actions\Processors\AbstractBaseProcessor::getStatements()
protected function getStatements()
// load the utility class name
$utilityClassName = $this->getUtilityClassName();
// return the array with the SQL statements that has to be prepared
return array(
$utilityClassName::CREATE_PRODUCT_VARCHAR => $utilityClassName::CREATE_PRODUCT_VARCHAR
);
}