1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00
appwrite/tests/unit/Utopia/Response/Filters/Second.php
2024-03-07 16:20:34 +01:00

19 lines
348 B
PHP

<?php
namespace Tests\Unit\Utopia\Response\Filters;
use Appwrite\Utopia\Response\Filter;
class Second extends Filter
{
public function parse(array $content, string $model): array
{
if ($model === "test") {
$content["second"] = true;
unset($content["removed"]);
}
return $content;
}
}