Skip to content

Commit

Permalink
Alteração para poder testar versão de layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Lustosa committed Apr 16, 2015
1 parent 0043710 commit 419b261
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Cnab/Retorno/Cnab240/Arquivo.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ class Arquivo implements \Cnab\Retorno\IArquivo
public $trailer = false;

public $codigo_banco;
public $layout_versao;

private $filename;

public function __construct($codigo_banco, $filename)
{
$this->filename = $filename;
$layout_versao = Factory::getLayoutVersao($this->filename);
$this->layout_versao = Factory::getLayoutVersao($this->filename);

if(!file_exists($this->filename))
throw new \Exception("Arquivo não encontrado: {$this->filename}");
Expand Down

0 comments on commit 419b261

Please sign in to comment.