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

Inheritance: implements Countable, implements SeekableIterator
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 )
count ( )
current ( )
getBancoNome ( ) : mixed
getCodigoBanco ( ) : string Retorna o código do banco
getDetalhe ( $i ) : Detalhe
getDetalhes ( ) : Illuminate\Database\Eloquent\Collection
getHeader ( ) : Header
getTrailer ( ) : Trailer
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.
incrementDetalhe ( ) Incrementa o detalhe.
processarDetalhe ( array $detalhe ) : boolean
processarHeader ( array $header ) : boolean
processarTrailer ( array $trailer ) : boolean
rem ( $i, $f, &$array ) : string Remove trecho do array.

Method Details

__construct() public méthode

public __construct ( String $file )
$file String

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

getTrailer() public méthode

public getTrailer ( ) : Trailer
Résultat Trailer

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

processarTrailer() abstract protected méthode

abstract protected processarTrailer ( 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