for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NFePHP\EFD\Elements\ICMSIPI;
use NFePHP\EFD\Common\Element;
use NFePHP\EFD\Common\ElementInterface;
use \stdClass;
/**
* REGISTRO C111: PROCESSO REFERENCIADO
* @package NFePHP\EFD\Elements\ICMSIPI
*/
class C111 extends Element implements ElementInterface
{
const REG = 'C111';
const LEVEL = 4;
const PARENT = 'C110';
protected $parameters = [
'NUM_PROC' => [
'type' => 'string',
'regex' => '^[A-z0-9]{1,15}$',
'required' => true,
'info' => 'Identificação do processo ou ato concessório',
'format' => ''
],
'IND_PROC' => [
'regex' => '^(0|1|2|3|9)$',
'info' => 'Indicador da origem do processo',
]
];
* Constructor
* @param \stdClass $std
public function __construct(\stdClass $std)
parent::__construct(self::REG);
$this->std = $this->standarize($std);
}