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\Color;
use Zibios\WrikePhpJmsserializer\Model\ResourceModelInterface;
/**
* Color Resource Model.
class ColorResourceModel implements ResourceModelInterface
{
* Color name.
* @SA\Type("string")
* @SA\SerializedName("name")
* @var string|null
protected $name;
* HEX code.
* @SA\SerializedName("hex")
protected $hex;
* @return null|string
public function getName()
return $this->name;
}
* @param null|string $name
* @return $this
public function setName($name)
$this->name = $name;
return $this;
public function getHex()
return $this->hex;
* @param null|string $hex
public function setHex($hex)
$this->hex = $hex;