for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Maikuro\DistributedConfigurationBundle\Model;
use JMS\Serializer\Annotation\AccessorOrder;
use JMS\Serializer\Annotation\ExclusionPolicy;
use JMS\Serializer\Annotation\Expose;
/**
* Class KeyValue.
*
* @ExclusionPolicy("all")
* @AccessorOrder("custom", custom = {"key", "value"})
*/
class KeyValue
{
* $key.
* @var string
* @Expose
private $key;
* $value.
private $value;
* setKey.
* @param string $key
* @return $this
public function setKey($key)
$this->key = $key;
return $this;
}
* setValue.
* @param string $value
public function setValue($value)
$this->value = $value;
* getValue.
* @return string
public function getValue()
return $this->value;
* getKey.
public function getKey()
return $this->key;