for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: Giansalex
* Date: 17/07/2017
* Time: 23:34
*/
namespace Greenter\Xml\Model\Sale;
use Symfony\Component\Validator\Constraints as Assert;
* Class Legend
* @package Greenter\Xml\Model\Sale
class Legend
{
* @Assert\Length(
* min="4",
* max="4"
* )
* @var string
private $code;
* @Assert\Length(max="100")
private $value;
* @return string
public function getCode()
return $this->code;
}
* @param string $code
* @return Legend
public function setCode($code)
$this->code = $code;
return $this;
public function getValue()
return $this->value;
* @param string $value
public function setValue($value)
$this->value = $value;