Skip to content

Classe Principal eNotasGw faltando namespace #7

@thobiasvicente

Description

@thobiasvicente

Fiz a instalação via composer em meu projeto laravel, e está ocorrendo o seguinte erro:

"message": "Class 'eNotasGW' not found"

Solução:

No arquivo principal (eNotasGw.php), adicionar um namespace

namespace eNotasGW\Api; 

E nos arquivos "request.php" e "response.php" REMOVER a linha de importação:

use \eNotasGW as eNotasGW;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions