Sonata\Component\Payment\InvalidTransactionException::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( string $orderReference = null, integer $code, Exception $previous = null )
$orderReference string
$code integer
$previous Exception
    public function __construct($orderReference = null, $code = 0, \Exception $previous = null)
    {
        $message = $orderReference ? sprintf('Invalid check - order ref: %s', $orderReference) : 'Unable to find reference';
        parent::__construct($message, $code, $previous);
    }
InvalidTransactionException