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 OfferEventTicket
class OfferEventTicket extends AbstractOffer
{
* @var string
private $name;
private $place;
private $date;
* @var int
private $premiere;
private $kids;
* @return string
public function getType()
return 'event-ticket';
}
public function getName()
return $this->name;
* @param string $name
* @return $this
public function setName($name)
$this->name = $name;
return $this;
public function getPlace()
return $this->place;
* @param string $place
public function setPlace($place)
$this->place = $place;
public function getDate()
return $this->date;
* @param string $date
public function setDate($date)
$this->date = $date;
* @return int
public function getPremiere()
return $this->premiere;
* @param int $premiere
public function setPremiere($premiere)
$this->premiere = $premiere;
public function getKids()
return $this->kids;
* @param int $kids
public function setKids($kids)
$this->kids = $kids;
* @return array
protected function getOptions()
return [
'name' => $this->getName(),
'place' => $this->getPlace(),
'date' => $this->getDate(),
'is_premiere' => $this->getPremiere(),
'is_kids' => $this->getKids(),
];