Skip to content

Commit e27db62

Browse files
committed
deploy: 85c461c
1 parent 70648b6 commit e27db62

7 files changed

Lines changed: 70 additions & 51 deletions

classes/libredte-api-client-ApiClient.html

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ <h2 class="phpdocumentor-content__title">
168168
<p class="phpdocumentor-summary">Clase ApiClient para la integración con la API de LibreDTE.</p>
169169

170170

171-
<section class="phpdocumentor-description"><p>Proporciona funcionalidades para realizar peticiones HTTP a la API de LibreDTE,
172-
incluyendo métodos para realizar solicitudes GET y POST.</p>
171+
<section class="phpdocumentor-description"><p>Proporciona funcionalidades para realizar peticiones HTTP a la API de
172+
LibreDTE, incluyendo métodos para realizar solicitudes GET y POST.</p>
173173
</section>
174174

175175

@@ -472,8 +472,8 @@ <h4 class="phpdocumentor-element__name" id="method___construct">
472472
<div class="phpdocumentor-label-line">
473473
</div>
474474

475-
<section class="phpdocumentor-description"><p>Inicializa el cliente con las credenciales y la URL de la API. Si no se proporcionan,
476-
se intentará obtener desde las variables de entorno.</p>
475+
<section class="phpdocumentor-description"><p>Inicializa el cliente con las credenciales y la URL de la API. Si no se
476+
proporcionan, se intentará obtener desde las variables de entorno.</p>
477477
</section>
478478

479479
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
@@ -535,7 +535,7 @@ <h4 class="phpdocumentor-element__name" id="method_get">
535535
<aside class="phpdocumentor-element-found-in">
536536
<abbr class="phpdocumentor-element-found-in__file" title="src/ApiClient.php"><a href="files/src-apiclient.html"><abbr title="src/ApiClient.php">ApiClient.php</abbr></a></abbr>
537537
:
538-
<span class="phpdocumentor-element-found-in__line">147</span>
538+
<span class="phpdocumentor-element-found-in__line">149</span>
539539

540540
</aside>
541541

@@ -548,7 +548,8 @@ <h4 class="phpdocumentor-element__name" id="method_get">
548548
<div class="phpdocumentor-label-line">
549549
</div>
550550

551-
<section class="phpdocumentor-description"><p>Recupera datos de un recurso específico de la API utilizando el método GET.</p>
551+
<section class="phpdocumentor-description"><p>Recupera datos de un recurso específico de la API utilizando el método
552+
GET.</p>
552553
</section>
553554

554555
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
@@ -610,7 +611,7 @@ <h4 class="phpdocumentor-element__name" id="method_post">
610611
<aside class="phpdocumentor-element-found-in">
611612
<abbr class="phpdocumentor-element-found-in__file" title="src/ApiClient.php"><a href="files/src-apiclient.html"><abbr title="src/ApiClient.php">ApiClient.php</abbr></a></abbr>
612613
:
613-
<span class="phpdocumentor-element-found-in__line">126</span>
614+
<span class="phpdocumentor-element-found-in__line">127</span>
614615

615616
</aside>
616617

@@ -698,8 +699,8 @@ <h4 class="phpdocumentor-element__name" id="method_setHeader">
698699
<div class="phpdocumentor-label-line">
699700
</div>
700701

701-
<section class="phpdocumentor-description"><p>Permite definir un valor para una cabecera específica que se incluirá en todas
702-
las solicitudes HTTP realizadas por la instancia del cliente.</p>
702+
<section class="phpdocumentor-description"><p>Permite definir un valor para una cabecera específica que se incluirá en
703+
todas las solicitudes HTTP realizadas por la instancia del cliente.</p>
703704
</section>
704705

705706
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
@@ -744,7 +745,7 @@ <h4 class="phpdocumentor-element__name" id="method_setSSL">
744745
<aside class="phpdocumentor-element-found-in">
745746
<abbr class="phpdocumentor-element-found-in__file" title="src/ApiClient.php"><a href="files/src-apiclient.html"><abbr title="src/ApiClient.php">ApiClient.php</abbr></a></abbr>
746747
:
747-
<span class="phpdocumentor-element-found-in__line">111</span>
748+
<span class="phpdocumentor-element-found-in__line">112</span>
748749

749750
</aside>
750751

@@ -757,8 +758,8 @@ <h4 class="phpdocumentor-element__name" id="method_setSSL">
757758
<div class="phpdocumentor-label-line">
758759
</div>
759760

760-
<section class="phpdocumentor-description"><p>Este método permite activar o desactivar la verificación del certificado SSL
761-
del servidor.</p>
761+
<section class="phpdocumentor-description"><p>Este método permite activar o desactivar la verificación del certificado
762+
SSL del servidor.</p>
762763
</section>
763764

764765
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
@@ -768,7 +769,8 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
768769
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
769770
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
770771
<dd class="phpdocumentor-argument-list__definition">
771-
<section class="phpdocumentor-description"><p>Activar o desactivar la verificación del certificado SSL.</p>
772+
<section class="phpdocumentor-description"><p>Activar o desactivar la verificación del
773+
certificado SSL.</p>
772774
</section>
773775

774776
</dd>
@@ -794,7 +796,7 @@ <h4 class="phpdocumentor-element__name" id="method_env">
794796
<aside class="phpdocumentor-element-found-in">
795797
<abbr class="phpdocumentor-element-found-in__file" title="src/ApiClient.php"><a href="files/src-apiclient.html"><abbr title="src/ApiClient.php">ApiClient.php</abbr></a></abbr>
796798
:
797-
<span class="phpdocumentor-element-found-in__line">167</span>
799+
<span class="phpdocumentor-element-found-in__line">170</span>
798800

799801
</aside>
800802

@@ -832,7 +834,8 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
832834
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
833835
<span class="phpdocumentor-signature__response_type">string|null</span>
834836
&mdash;
835-
<section class="phpdocumentor-description"><p>Valor de la variable de entorno o null si no está definida.</p>
837+
<section class="phpdocumentor-description"><p>Valor de la variable de entorno o null si no está
838+
definida.</p>
836839
</section>
837840

838841
</section>

classes/libredte-api-client-ApiException.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,19 @@ <h2 class="phpdocumentor-content__title">
164164
<aside class="phpdocumentor-element-found-in">
165165
<abbr class="phpdocumentor-element-found-in__file" title="src/ApiException.php"><a href="files/src-apiexception.html"><abbr title="src/ApiException.php">ApiException.php</abbr></a></abbr>
166166
:
167-
<span class="phpdocumentor-element-found-in__line">34</span>
167+
<span class="phpdocumentor-element-found-in__line">36</span>
168168

169169
</aside>
170170

171-
<p class="phpdocumentor-summary">Clase ApiException para la gestión de excepciones en el cliente de la API de LibreDTE.</p>
171+
<p class="phpdocumentor-summary">Clase ApiException para la gestión de excepciones en el cliente de la API
172+
de LibreDTE.</p>
172173

173174

174-
<section class="phpdocumentor-description"><p>Esta clase extiende la clase Exception estándar de PHP y se utiliza para manejar
175-
errores específicos que pueden ocurrir durante las interacciones con la API de LibreDTE.
176-
Las instancias de ApiException pueden incluir información adicional relevante para
177-
los errores de la API.</p>
175+
<section class="phpdocumentor-description"><p>Esta clase extiende la clase Exception estándar de PHP y se utiliza para
176+
manejar errores específicos que pueden ocurrir durante las interacciones
177+
con la API de LibreDTE.
178+
Las instancias de ApiException pueden incluir información adicional
179+
relevante para los errores de la API.</p>
178180
</section>
179181

180182

classes/libredte-api-client-HttpCurlClient.html

Lines changed: 35 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,16 @@ <h2 class="phpdocumentor-content__title">
161161
<aside class="phpdocumentor-element-found-in">
162162
<abbr class="phpdocumentor-element-found-in__file" title="src/HttpCurlClient.php"><a href="files/src-httpcurlclient.html"><abbr title="src/HttpCurlClient.php">HttpCurlClient.php</abbr></a></abbr>
163163
:
164-
<span class="phpdocumentor-element-found-in__line">32</span>
164+
<span class="phpdocumentor-element-found-in__line">33</span>
165165

166166
</aside>
167167

168168
<p class="phpdocumentor-summary">Clase HttpCurlClient para realizar consultas HTTP utilizando cURL.</p>
169169

170170

171-
<section class="phpdocumentor-description"><p>Esta clase proporciona una interfaz para realizar peticiones HTTP, como GET y POST,
172-
utilizando cURL. Ofrece configuración de SSL y manejo de errores de cURL.</p>
171+
<section class="phpdocumentor-description"><p>Esta clase proporciona una interfaz para realizar peticiones HTTP, como GET
172+
y POST, utilizando cURL. Ofrece configuración de SSL y manejo de errores de
173+
cURL.</p>
173174
</section>
174175

175176

@@ -253,14 +254,16 @@ <h4 id="toc-methods">
253254
<span>
254255
&nbsp;: array&lt;string|int, mixed&gt; </span>
255256
</dt>
256-
<dd>Método que procesa y convierte la cabecera en texto plano a un arreglo asociativo.</dd>
257+
<dd>Método que procesa y convierte la cabecera en texto plano a un arreglo
258+
asociativo.</dd>
257259

258260
<dt class="phpdocumentor-table-of-contents__entry -method -private">
259261
<a class="" href="classes/libredte-api-client-HttpCurlClient.html#method_parseResponseStatus">parseResponseStatus()</a>
260262
<span>
261263
&nbsp;: array&lt;string|int, mixed&gt; </span>
262264
</dt>
263-
<dd>Método que procesa la línea de estado de la respuesta HTTP y extrae información útil.</dd>
265+
<dd>Método que procesa la línea de estado de la respuesta HTTP y extrae
266+
información útil.</dd>
264267

265268
</dl>
266269

@@ -292,7 +295,7 @@ <h4 class="phpdocumentor-element__name" id="property_errors">
292295
<aside class="phpdocumentor-element-found-in">
293296
<abbr class="phpdocumentor-element-found-in__file" title="src/HttpCurlClient.php"><a href="files/src-httpcurlclient.html"><abbr title="src/HttpCurlClient.php">HttpCurlClient.php</abbr></a></abbr>
294297
:
295-
<span class="phpdocumentor-element-found-in__line">46</span>
298+
<span class="phpdocumentor-element-found-in__line">47</span>
296299

297300
</aside>
298301

@@ -329,7 +332,7 @@ <h4 class="phpdocumentor-element__name" id="property_sslcheck">
329332
<aside class="phpdocumentor-element-found-in">
330333
<abbr class="phpdocumentor-element-found-in__file" title="src/HttpCurlClient.php"><a href="files/src-httpcurlclient.html"><abbr title="src/HttpCurlClient.php">HttpCurlClient.php</abbr></a></abbr>
331334
:
332-
<span class="phpdocumentor-element-found-in__line">39</span>
335+
<span class="phpdocumentor-element-found-in__line">40</span>
333336

334337
</aside>
335338

@@ -371,7 +374,7 @@ <h4 class="phpdocumentor-element__name" id="method_getErrors">
371374
<aside class="phpdocumentor-element-found-in">
372375
<abbr class="phpdocumentor-element-found-in__file" title="src/HttpCurlClient.php"><a href="files/src-httpcurlclient.html"><abbr title="src/HttpCurlClient.php">HttpCurlClient.php</abbr></a></abbr>
373376
:
374-
<span class="phpdocumentor-element-found-in__line">56</span>
377+
<span class="phpdocumentor-element-found-in__line">57</span>
375378

376379
</aside>
377380

@@ -417,7 +420,7 @@ <h4 class="phpdocumentor-element__name" id="method_getLastError">
417420
<aside class="phpdocumentor-element-found-in">
418421
<abbr class="phpdocumentor-element-found-in__file" title="src/HttpCurlClient.php"><a href="files/src-httpcurlclient.html"><abbr title="src/HttpCurlClient.php">HttpCurlClient.php</abbr></a></abbr>
419422
:
420-
<span class="phpdocumentor-element-found-in__line">68</span>
423+
<span class="phpdocumentor-element-found-in__line">70</span>
421424

422425
</aside>
423426

@@ -430,7 +433,8 @@ <h4 class="phpdocumentor-element__name" id="method_getLastError">
430433
<div class="phpdocumentor-label-line">
431434
</div>
432435

433-
<section class="phpdocumentor-description"><p>Este método devuelve el último error generado por cURL en una petición HTTP.</p>
436+
<section class="phpdocumentor-description"><p>Este método devuelve el último error generado por cURL en una petición
437+
HTTP.</p>
434438
</section>
435439

436440

@@ -462,7 +466,7 @@ <h4 class="phpdocumentor-element__name" id="method_query">
462466
<aside class="phpdocumentor-element-found-in">
463467
<abbr class="phpdocumentor-element-found-in__file" title="src/HttpCurlClient.php"><a href="files/src-httpcurlclient.html"><abbr title="src/HttpCurlClient.php">HttpCurlClient.php</abbr></a></abbr>
464468
:
465-
<span class="phpdocumentor-element-found-in__line">98</span>
469+
<span class="phpdocumentor-element-found-in__line">102</span>
466470

467471
</aside>
468472

@@ -475,7 +479,8 @@ <h4 class="phpdocumentor-element__name" id="method_query">
475479
<div class="phpdocumentor-label-line">
476480
</div>
477481

478-
<section class="phpdocumentor-description"><p>Este método ejecuta una petición HTTP utilizando cURL y devuelve la respuesta.
482+
<section class="phpdocumentor-description"><p>Este método ejecuta una petición HTTP utilizando cURL y devuelve la
483+
respuesta.
479484
Soporta varios métodos HTTP como GET, POST, PUT, DELETE, etc.</p>
480485
</section>
481486

@@ -547,7 +552,7 @@ <h4 class="phpdocumentor-element__name" id="method_setSSL">
547552
<aside class="phpdocumentor-element-found-in">
548553
<abbr class="phpdocumentor-element-found-in__file" title="src/HttpCurlClient.php"><a href="files/src-httpcurlclient.html"><abbr title="src/HttpCurlClient.php">HttpCurlClient.php</abbr></a></abbr>
549554
:
550-
<span class="phpdocumentor-element-found-in__line">81</span>
555+
<span class="phpdocumentor-element-found-in__line">84</span>
551556

552557
</aside>
553558

@@ -560,8 +565,8 @@ <h4 class="phpdocumentor-element__name" id="method_setSSL">
560565
<div class="phpdocumentor-label-line">
561566
</div>
562567

563-
<section class="phpdocumentor-description"><p>Este método permite activar o desactivar la verificación del certificado SSL
564-
del servidor.</p>
568+
<section class="phpdocumentor-description"><p>Este método permite activar o desactivar la verificación del certificado
569+
SSL del servidor.</p>
565570
</section>
566571

567572
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
@@ -571,7 +576,8 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
571576
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
572577
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
573578
<dd class="phpdocumentor-argument-list__definition">
574-
<section class="phpdocumentor-description"><p>Activar o desactivar la verificación del certificado SSL.</p>
579+
<section class="phpdocumentor-description"><p>Activar o desactivar la verificación del
580+
certificado SSL.</p>
575581
</section>
576582

577583
</dd>
@@ -597,11 +603,12 @@ <h4 class="phpdocumentor-element__name" id="method_parseResponseHeaders">
597603
<aside class="phpdocumentor-element-found-in">
598604
<abbr class="phpdocumentor-element-found-in__file" title="src/HttpCurlClient.php"><a href="files/src-httpcurlclient.html"><abbr title="src/HttpCurlClient.php">HttpCurlClient.php</abbr></a></abbr>
599605
:
600-
<span class="phpdocumentor-element-found-in__line">170</span>
606+
<span class="phpdocumentor-element-found-in__line">176</span>
601607

602608
</aside>
603609

604-
<p class="phpdocumentor-summary">Método que procesa y convierte la cabecera en texto plano a un arreglo asociativo.</p>
610+
<p class="phpdocumentor-summary">Método que procesa y convierte la cabecera en texto plano a un arreglo
611+
asociativo.</p>
605612

606613
<code class="phpdocumentor-code phpdocumentor-signature ">
607614
<span class="phpdocumentor-signature__visibility">private</span>
@@ -610,8 +617,9 @@ <h4 class="phpdocumentor-element__name" id="method_parseResponseHeaders">
610617
<div class="phpdocumentor-label-line">
611618
</div>
612619

613-
<section class="phpdocumentor-description"><p>Convierte las cabeceras HTTP dadas en texto plano a un arreglo asociativo. Si una cabecera
614-
aparece más de una vez, su valor será un arreglo con todos sus valores.</p>
620+
<section class="phpdocumentor-description"><p>Convierte las cabeceras HTTP dadas en texto plano a un arreglo
621+
asociativo. Si una cabecera aparece más de una vez, su valor será un
622+
arreglo con todos sus valores.</p>
615623
</section>
616624

617625
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
@@ -655,11 +663,12 @@ <h4 class="phpdocumentor-element__name" id="method_parseResponseStatus">
655663
<aside class="phpdocumentor-element-found-in">
656664
<abbr class="phpdocumentor-element-found-in__file" title="src/HttpCurlClient.php"><a href="files/src-httpcurlclient.html"><abbr title="src/HttpCurlClient.php">HttpCurlClient.php</abbr></a></abbr>
657665
:
658-
<span class="phpdocumentor-element-found-in__line">208</span>
666+
<span class="phpdocumentor-element-found-in__line">217</span>
659667

660668
</aside>
661669

662-
<p class="phpdocumentor-summary">Método que procesa la línea de estado de la respuesta HTTP y extrae información útil.</p>
670+
<p class="phpdocumentor-summary">Método que procesa la línea de estado de la respuesta HTTP y extrae
671+
información útil.</p>
663672

664673
<code class="phpdocumentor-code phpdocumentor-signature ">
665674
<span class="phpdocumentor-signature__visibility">private</span>
@@ -668,7 +677,8 @@ <h4 class="phpdocumentor-element__name" id="method_parseResponseStatus">
668677
<div class="phpdocumentor-label-line">
669678
</div>
670679

671-
<section class="phpdocumentor-description"><p>Extrae el protocolo, el código de estado y el mensaje del estado de la línea de respuesta HTTP.
680+
<section class="phpdocumentor-description"><p>Extrae el protocolo, el código de estado y el mensaje del estado de la
681+
línea de respuesta HTTP.
672682
Útil para entender y manejar la respuesta HTTP.</p>
673683
</section>
674684

@@ -693,7 +703,8 @@ <h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
693703
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
694704
<span class="phpdocumentor-signature__response_type">array&lt;string|int, mixed&gt;</span>
695705
&mdash;
696-
<section class="phpdocumentor-description"><p>Arreglo con información del estado, incluyendo protocolo, código y mensaje.</p>
706+
<section class="phpdocumentor-description"><p>Arreglo con información del estado, incluyendo protocolo,
707+
código y mensaje.</p>
697708
</section>
698709

699710
</section>

files/src-apiexception.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,8 @@ <h4 id="toc-classes">
175175

176176
</h4>
177177
<dl class="phpdocumentor-table-of-contents">
178-
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/libredte-api-client-ApiException.html"><abbr title="\libredte\api_client\ApiException">ApiException</abbr></a></dt><dd>Clase ApiException para la gestión de excepciones en el cliente de la API de LibreDTE.</dd> </dl>
178+
<dt class="phpdocumentor-table-of-contents__entry -class"><a href="classes/libredte-api-client-ApiException.html"><abbr title="\libredte\api_client\ApiException">ApiException</abbr></a></dt><dd>Clase ApiException para la gestión de excepciones en el cliente de la API
179+
de LibreDTE.</dd> </dl>
179180

180181

181182

0 commit comments

Comments
 (0)