1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00
appwrite/tests/unit/Utopia/Nested.php
2022-08-01 12:22:04 +02:00

32 lines
551 B
PHP

<?php
namespace Tests\Unit\Utopia;
use Appwrite\Utopia\Response\Model;
class Nested extends Model
{
public function __construct()
{
$this
->addRule('lists', [
'type' => 'lists',
'default' => '',
])
->addRule('single', [
'type' => 'single',
'default' => ''
]);
}
public function getName(): string
{
return 'Nested';
}
public function getType(): string
{
return 'nested';
}
}