friendica-github/tests/Util/SerializableObjectDouble.php

22 lines
392 B
PHP
Raw Normal View History

2023-01-21 17:19:35 +01:00
<?php
2024-08-24 14:31:41 +02:00
// Copyright (C) 2010-2024, the Friendica project
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
//
// SPDX-License-Identifier: AGPL-3.0-or-later
2023-01-21 17:19:35 +01:00
namespace Friendica\Test\Util;
2023-01-21 19:47:47 +01:00
class SerializableObjectDouble implements \Serializable
2023-01-21 17:19:35 +01:00
{
public function serialize()
{
return '\'serialized\'';
}
public function unserialize($data)
{
return '\'unserialized\'';
}
}