Download src/Billing/Domain/Exceptions/AlreadyFulfilledException.php from pnacorp/AIKEEDO: direct link, hf CLI and curl.
- Browser
- Download file 569 Bytes
-
https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Billing/Domain/Exceptions/AlreadyFulfilledException.php
- Command line
-
hf download hf://pnacorp/AIKEEDO/src/Billing/Domain/Exceptions/AlreadyFulfilledException.php
-
curl -L -o AlreadyFulfilledException.php https://huggingface.co/pnacorp/AIKEEDO/resolve/main/src/Billing/Domain/Exceptions/AlreadyFulfilledException.php
569 Bytes
| declare(strict_types=1); | |
| namespace Billing\Domain\Exceptions; | |
| use Billing\Domain\Entities\OrderEntity; | |
| use Exception; | |
| use Throwable; | |
| class AlreadyFulfilledException extends Exception | |
| { | |
| public function __construct( | |
| public readonly OrderEntity $order, | |
| int $code = 0, | |
| ?Throwable $previous = null, | |
| ) { | |
| parent::__construct( | |
| sprintf( | |
| "Order with id <%s> is already fulfilled!", | |
| $order->getId()->getValue() | |
| ), | |
| $code, | |
| $previous | |
| ); | |
| } | |
| } | |