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:39
*/
namespace Greenter\Xml\Model\Sale;
use Symfony\Component\Validator\Constraints as Assert;
* Class Document
* @package Greenter\Xml\Model\Sale
class Document
{
* @Assert\Length(
* min="2",
* max="2"
* )
* @var string
private $tipoDoc;
* @Assert\Length(max="30")
private $nroDoc;
* @return string
public function getTipoDoc()
return $this->tipoDoc;
}
* @param string $tipoDoc
* @return Document
public function setTipoDoc($tipoDoc)
$this->tipoDoc = $tipoDoc;
return $this;
public function getNroDoc()
return $this->nroDoc;
* @param string $nroDoc
public function setNroDoc($nroDoc)
$this->nroDoc = $nroDoc;