PHP Class Eduardokum\LaravelBoleto\Cnab\Retorno\Cnab240\AbstractRetorno

Inheritance: extends Eduardokum\LaravelBoleto\Cnab\Retorno\AbstractRetorno
Afficher le fichier Open project: eduardokum/laravel-boleto

Protected Properties

Свойство Type Description
$codigoBanco string Código do banco
$file array Arquivo transformado em array por linha.
$totais array Helper de totais.

Méthodes publiques

Méthode Description
__construct ( String $file )
convertDate ( $date )
count ( )
current ( )
getBancoNome ( ) : mixed
getCodigoBanco ( ) : string Retorna o código do banco
getDetalhe ( $i ) : Detalhe
getDetalhes ( ) : Illuminate\Database\Eloquent\Collection
getHeader ( ) : Header
getHeaderLote ( ) : HeaderLote
getTrailerArquivo ( ) : TrailerArquivo
getTrailerLote ( ) : TrailerLote
key ( )
next ( )
processar ( ) Processa o arquivo
rewind ( )
seek ( $position )
toArray ( ) : array Retorna o array.
valid ( )

Méthodes protégées

Méthode Description
detalheAtual ( ) : Detalhe 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.

Method Details

__construct() public méthode

public __construct ( String $file )
$file String

convertDate() public méthode

public convertDate ( $date )

count() public méthode

public count ( )

current() public méthode

public current ( )

detalheAtual() protected méthode

Retorna o detalhe atual.
protected detalheAtual ( ) : Detalhe
Résultat Detalhe

getBancoNome() public méthode

public getBancoNome ( ) : mixed
Résultat mixed

getCodigoBanco() public méthode

Retorna o código do banco
public getCodigoBanco ( ) : string
Résultat string

getDetalhe() public méthode

public getDetalhe ( $i ) : Detalhe
$i
Résultat Detalhe

getDetalhes() public méthode

public getDetalhes ( ) : Illuminate\Database\Eloquent\Collection
Résultat Illuminate\Database\Eloquent\Collection

getHeader() public méthode

public getHeader ( ) : Header
Résultat Header

getHeaderLote() public méthode

public getHeaderLote ( ) : HeaderLote
Résultat HeaderLote

getSegmentType() protected méthode

protected getSegmentType ( $line )

getServiceType() protected méthode

protected getServiceType ( $line )

getTrailerArquivo() public méthode

public getTrailerArquivo ( ) : TrailerArquivo
Résultat TrailerArquivo

getTrailerLote() public méthode

public getTrailerLote ( ) : TrailerLote
Résultat TrailerLote

incrementDetalhe() protected méthode

Incrementa o detalhe.
protected incrementDetalhe ( )

key() public méthode

public key ( )

next() public méthode

public next ( )

processar() public méthode

Processa o arquivo
public processar ( )

processarDetalhe() abstract protected méthode

abstract protected processarDetalhe ( array $detalhe ) : boolean
$detalhe array
Résultat boolean

processarHeader() abstract protected méthode

abstract protected processarHeader ( array $header ) : boolean
$header array
Résultat boolean

processarHeaderLote() abstract protected méthode

abstract protected processarHeaderLote ( array $headerLote ) : boolean
$headerLote array
Résultat boolean

processarTrailer() abstract protected méthode

abstract protected processarTrailer ( array $trailer ) : boolean
$trailer array
Résultat boolean

processarTrailerArquivo() abstract protected méthode

abstract protected processarTrailerArquivo ( array $trailer ) : boolean
$trailer array
Résultat boolean

processarTrailerLote() abstract protected méthode

abstract protected processarTrailerLote ( array $trailer ) : boolean
$trailer array
Résultat boolean

rem() protected méthode

Remove trecho do array.
protected rem ( $i, $f, &$array ) : string
$i
$f
$array
Résultat string

rewind() public méthode

public rewind ( )

seek() public méthode

public seek ( $position )

toArray() public méthode

Retorna o array.
public toArray ( ) : array
Résultat array

valid() public méthode

public valid ( )

Property Details

$codigoBanco protected_oe property

Código do banco
protected string $codigoBanco
Résultat string

$file protected_oe property

Arquivo transformado em array por linha.
protected array $file
Résultat array

$totais protected_oe property

Helper de totais.
protected array $totais
Résultat array