mirror of
https://gitlab.com/openlp/website.git
synced 2024-12-22 13:02:50 +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();
|
||
|
}
|
||
|
}
|