Property | Type | Description | |
---|---|---|---|
$codigoBanco | string | Código do banco | |
$file | array | Arquivo transformado em array por linha. | |
$totais | array | Helper de totais. |
Method | Description | |
---|---|---|
__construct ( String $file ) | ||
convertDate ( $date ) | ||
count ( ) | ||
current ( ) | ||
getBancoNome ( ) : mixed | ||
getCodigoBanco ( ) : string | Retorna o código do banco | |
getDetalhe ( $i ) : |
||
getDetalhes ( ) : Illuminate\Database\Eloquent\Collection | ||
getHeader ( ) : |
||
getHeaderLote ( ) : |
||
getTrailerArquivo ( ) : |
||
getTrailerLote ( ) : |
||
key ( ) | ||
next ( ) | ||
processar ( ) | Processa o arquivo | |
rewind ( ) | ||
seek ( $position ) | ||
toArray ( ) : array | Retorna o array. | |
valid ( ) |
Method | Description | |
---|---|---|
detalheAtual ( ) : |
Retorna o detalhe atual. | |
getSegmentType ( $line ) | ||
getServiceType ( $line ) | ||
incrementDetalhe ( ) | Incrementa o detalhe. | |
processarDetalhe ( array $detalhe ) : boolean | ||
processarHeader ( array $header ) : boolean | ||
processarHeaderLote ( array $headerLote ) : boolean | ||
processarTrailer ( array $trailer ) : boolean | ||
processarTrailerArquivo ( array $trailer ) : boolean | ||
processarTrailerLote ( array $trailer ) : boolean | ||
rem ( $i, $f, &$array ) : string | Remove trecho do array. |
protected detalheAtual ( ) : |
||
return |
public getCodigoBanco ( ) : string | ||
return | string |
public getDetalhes ( ) : Illuminate\Database\Eloquent\Collection | ||
return | Illuminate\Database\Eloquent\Collection |
public getTrailerArquivo ( ) : |
||
return |
abstract protected processarDetalhe ( array $detalhe ) : boolean | ||
$detalhe | array | |
return | boolean |
abstract protected processarHeader ( array $header ) : boolean | ||
$header | array | |
return | boolean |
abstract protected processarHeaderLote ( array $headerLote ) : boolean | ||
$headerLote | array | |
return | boolean |
abstract protected processarTrailer ( array $trailer ) : boolean | ||
$trailer | array | |
return | boolean |
abstract protected processarTrailerArquivo ( array $trailer ) : boolean | ||
$trailer | array | |
return | boolean |
abstract protected processarTrailerLote ( array $trailer ) : boolean | ||
$trailer | array | |
return | boolean |
protected array $file | ||
return | array |