1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00
appwrite/tests/e2e/Scopes/SideServer.php
2020-11-26 08:31:59 +02:00

27 lines
364 B
PHP

<?php
namespace Tests\E2E\Scopes;
trait SideServer
{
/**
* @var array
*/
protected $key = [];
public function getHeaders():array
{
return [
'x-appwrite-key' => $this->getProject()['apiKey']
];
}
/**
* @return string
*/
public function getSide()
{
return 'server';
}
}