Issues (33)

Exception/OperationExceptionFactoryInterface.php (1 issue)

1
<?php
0 ignored issues
show
Header blocks must be separated by a single blank line
Loading history...
2
/**
3
 * Copyright MediaCT. All rights reserved.
4
 * https://www.mediact.nl
5
 */
6
7
namespace Johmanx10\Transaction\Exception;
8
9
use Throwable;
10
11
interface OperationExceptionFactoryInterface
12
{
13
    /**
14
     * Create an operation exception from the given throwable.
15
     *
16
     * @param Throwable $subject
17
     *
18
     * @return OperationExceptionInterface
19
     */
20
    public function createFromThrowable(
21
        Throwable $subject
22
    ): OperationExceptionInterface;
23
}
24