File "ExampleService.php"
Full path: /home/capoeirajd/www/wp-content/plugins/woocommerce-payments/src/Internal/Service/ExampleService.php
File
size: 498 B (498 B bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
/**
* Class ExampleService
*
* @package WooCommerce\Payments
*/
namespace WCPay\Internal\Service;
use Exception;
use WCPay\Core\Mode;
/**
* This is a service, which will be used for developing
* DI-related functionality until there are better services
* to test with.
*/
class ExampleService {
/**
* Does something.
*
* @throws Exception Whenever Huell is not happy.
*/
public function do_something_with_exception() {
throw new Exception( 'Huell is not happy.' );
}
}