mirror of
https://github.com/openvk/openvk
synced 2024-11-14 19:19:14 +03:00
25 lines
525 B
PHP
25 lines
525 B
PHP
|
<?php declare(strict_types=1);
|
||
|
namespace openvk\VKAPI\Handlers;
|
||
|
|
||
|
final class Ovk extends VKAPIRequestHandler
|
||
|
{
|
||
|
function version(): string
|
||
|
{
|
||
|
return OPENVK_VERSION;
|
||
|
}
|
||
|
|
||
|
function test(): object
|
||
|
{
|
||
|
return (object) [
|
||
|
"authorized" => $this->userAuthorized(),
|
||
|
"auth_with" => $_GET["auth_mechanism"] ?? "access_token",
|
||
|
"version" => VKAPI_DECL_VER,
|
||
|
];
|
||
|
}
|
||
|
|
||
|
function chickenWings(): string
|
||
|
{
|
||
|
return "крылышки";
|
||
|
}
|
||
|
}
|