for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NFePHP\EFD\Elements\Contribuicoes;
use NFePHP\EFD\Common\Element;
use NFePHP\EFD\Common\ElementInterface;
use \stdClass;
class F001 extends Element implements ElementInterface
{
const REG = 'F001';
const LEVEL = 0;
const PARENT = '1';
protected $parameters = [
'IND_MOV' => [
'type' => 'string',
'regex' => '^(0|1)$',
'required' => false,
'info' => 'Indicador de movimento: 0 - Bloco com dados informados; 1 - Bloco sem dados informados',
'format' => ''
],
];
/**
* Constructor
* @param \stdClass $std
*/
public function __construct(\stdClass $std)
parent::__construct(self::REG);
$this->std = $this->standarize($std);
}