1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00
appwrite/tests/unit/Utopia/Request/Filters/First.php
2024-03-07 16:20:34 +01:00

20 lines
396 B
PHP

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