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

19 lines
358 B
PHP

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