1
0
Fork 0
mirror of synced 2024-09-17 01:47:57 +12:00
appwrite/tests/unit/Utopia/Response/Filters/Second.php

19 lines
348 B
PHP
Raw Normal View History

<?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;
}
}