<?php
// +----------------------------------------------------------------------
// | OnlineRetailers [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2003-2023 www.yisu.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 王强 <opjklu@126.com>
// +----------------------------------------------------------------------
namespace Home\Strategy\SpecificStrategy;

use Home\Strategy\AbstractStrategy;

/**
 * 没有活动时的价格处理
 * @author Administrator
 *
 */
class NoActivePrice extends AbstractStrategy
{
    
    public function __construct(array $goodsData)
    {
        $this->goodsData = $goodsData;
    }
    
    /**
     * {@inheritDoc}
     * @see \Home\Strategy\AbstractStrategy::acceptCash()
     */
    public function acceptCash()
    {
        // TODO Auto-generated method stub
        return $this->goodsData;
    }

    /**
     * {@inheritDoc}
     * @see \Home\Strategy\AbstractStrategy::getResultByManyArrays()
     */
    public function getResultByManyArrays()
    {
        // TODO Auto-generated method stub
        
        return $this->goodsData;
        
    }

    
}