mirror of
https://gitlab.com/openlp/website.git
synced 2024-12-23 05:22:53 +00:00
19 lines
446 B
PHP
19 lines
446 B
PHP
|
<?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();
|
||
|
}
|
||
|
}
|