Download lucas-simoes / php-nfse / Response.php - Solve class 'Response' not found
This file is part of the package lucas-simoes/php-nfse.
Please go to our download page to download this composer package and to solve the problem class 'Response' not found.
Download lucas-simoes/php-nfse
Class is not correct?
Search class Response
<?php
namespace NFePHP\NFSe\Counties\M4125506\v300;
/**
* Classe para extração dos dados retornados pelos webservices
* conforme o modelo ABRASF 2.02
*
* @category NFePHP
* @package NFePHP\NFSe\Models\Abrasf\Response
* @copyright NFePHP Copyright (c) 2016
* @license http://www.gnu.org/licenses/lgpl.txt LGPLv3+
* @license https://opensource.org/licenses/MIT MIT
* @license http://www.gnu.org/licenses/gpl.txt GPLv3+
* @author Roberto L. Machado <linux.rlm at gmail dot com>
* @link http://github.com/nfephp-org/sped-nfse for the canonical source repository
*/
use NFePHP\NFSe\Models\Abrasf\Response as ResponseBase;
class Response extends ResponseBase
{
public function read($response)
{
$out = [];
preg_match_all("/(<\?xml.*)(<\/return>)/s", $response, $out);
$response = $out[1][0];
return parent::read($response);
}
}