1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-23 05:22:53 +00:00
website/files/stripe/lib/JsonSerializable.php

19 lines
446 B
PHP
Raw Normal View History

<?php
namespace Stripe;
// JsonSerializable only exists in PHP 5.4+. Stub if out if it doesn't exist
if (interface_exists('\JsonSerializable', false)) {
interface JsonSerializable extends \JsonSerializable
{
}
} else {
// PSR2 wants each interface to have its own file.
// @codingStandardsIgnoreStart
interface JsonSerializable
{
// @codingStandardsIgnoreEnd
public function jsonSerialize();
}
}