for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Bukashk0zzzYmlGenerator
*
* (c) Denis Golubovskiy <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Bukashk0zzz\YmlGenerator\Model\Offer;
/**
* Class OfferSimple
class OfferSimple extends AbstractOffer implements OfferGroupAwareInterface
{
use OfferGroupTrait;
* @var string
private $name;
private $vendor;
private $vendorCode;
* @return string
public function getType()
return null;
}
public function getName()
return $this->name;
* @param string $name
* @return $this
public function setName($name)
$this->name = $name;
return $this;
public function getVendor()
return $this->vendor;
* @param string $vendor
public function setVendor($vendor)
$this->vendor = $vendor;
public function getVendorCode()
return $this->vendorCode;
* @param string $vendorCode
public function setVendorCode($vendorCode)
$this->vendorCode = $vendorCode;
* @return array
protected function getOptions()
return [
'name' => $this->getName(),
'vendor' => $this->getVendor(),
'vendorCode' => $this->getVendorCode(),
];