for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SixtyNine\Cloud\Model;
use JMS\Serializer\Annotation as JMS;
class Word
{
const DIR_VERTICAL = 'vertical';
const DIR_HORIZONTAL = 'horizontal';
/**
* @var string
* @JMS\Type("string")
*/
protected $text;
* @var int
* @JMS\Type("integer")
protected $count;
protected $orientation = self::DIR_HORIZONTAL;
protected $color = '000000';
protected $position;
* @var WordsList
* @JMS\Type("SixtyNine\Cloud\Model\WordsList")
protected $list;
* @param \SixtyNine\Cloud\Model\WordsList $list
* @return $this
public function setList($list)
$this->list = $list;
return $this;
}
* @return \SixtyNine\Cloud\Model\wordsList
public function getList()
return $this->list;
* @param int $count
public function setCount($count)
$this->count = $count;
* @return int
public function getCount()
return $this->count;
* @param string $text
public function setText($text)
$this->text = $text;
* @return string
public function getText()
return $this->text;
* @param string $color
public function setColor($color)
$this->color = $color;
public function getColor()
return $this->color;
* @param string $orientation
public function setOrientation($orientation)
$this->orientation = $orientation;
public function getOrientation()
return $this->orientation;
* @param int $position
public function setPosition($position)
$this->position = $position;
public function getPosition()
return $this->position;