friendica/tests/Util/SerializableObjectDouble.php

22 wiersze
392 B
PHP
Czysty Zwykły widok Historia

2023-01-21 16:19:35 +00:00
<?php
2024-08-24 12:31:41 +00: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 16:19:35 +00:00
namespace Friendica\Test\Util;
2023-01-21 18:47:47 +00:00
class SerializableObjectDouble implements \Serializable
2023-01-21 16:19:35 +00:00
{
public function serialize()
{
return '\'serialized\'';
}
public function unserialize($data)
{
return '\'unserialized\'';
}
}