Eduardokum\LaravelBoleto\Cnab\Retorno\Cnab400\Banco\Itau::processarTrailer PHP Method

processarTrailer() protected method

protected processarTrailer ( array $trailer )
$trailer array
    protected function processarTrailer(array $trailer)
    {
        $this->getTrailer()->setQuantidadeTitulos((int) $this->rem(18, 25, $trailer) + (int) $this->rem(58, 65, $trailer) + (int) $this->rem(178, 185, $trailer))->setValorTitulos((double) Util::nFloat($this->rem(221, 234, $trailer) / 100, 2, false))->setQuantidadeErros((int) $this->totais['erros'])->setQuantidadeEntradas((int) $this->totais['entradas'])->setQuantidadeLiquidados((int) $this->totais['liquidados'])->setQuantidadeBaixados((int) $this->totais['baixados'])->setQuantidadeAlterados((int) $this->totais['alterados']);
        return true;
    }