for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the zibios/wrike-php-jmsserializer package.
*
* (c) Zbigniew Ślązak
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Zibios\WrikePhpJmsserializer\Model\Common;
use JMS\Serializer\Annotation as SA;
use Zibios\WrikePhpJmsserializer\Model\AbstractModel;
use Zibios\WrikePhpJmsserializer\Model\ResourceModelInterface;
/**
* Avatar Model.
class AvatarModel extends AbstractModel implements ResourceModelInterface
{
* Group letters (2 symbols max), ex. ZS.
* @SA\Type("string")
* @SA\SerializedName("letters")
* @var string|null
protected $letters;
* Hex color code, ex. #fe73a1.
* @SA\SerializedName("color")
protected $color;
* @return null|string
public function getLetters()
return $this->letters;
}
* @param null|string $letters
* @return $this
public function setLetters($letters)
$this->letters = $letters;
return $this;
public function getColor()
return $this->color;
* @param null|string $color
public function setColor($color)
$this->color = $color;