← All changes
|
includes/Interfaces/Push_Provider_Adapter_Interface.php
+8
-0
1.10.7
→
1.10.18
View file →
| @@ -21,5 +21,13 @@ | ||
| 21 | 21 | * |
| 22 | 22 | * @return array{success:bool, retryable:bool, error:string, external_job_id:string, drawer_error:string} |
| 23 | 23 | */ |
| 24 | 24 | public function submit( array $printer, array $job, string $payload, string $title ): array; |
| 25 | + | |
| 26 | + /** | |
| 27 | + * Submit a diagnostic using the provider's existing direct or queued path. | |
| 28 | + * | |
| 29 | + * @param array $printer Registered printer. | |
| 30 | + * @return \WP_REST_Response|\WP_Error | |
| 31 | + */ | |
| 32 | + public function test_print( array $printer ); | |
| 25 | 33 | } |