mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-21 07:35:21 +00:00
16 lines
312 B
PHP
16 lines
312 B
PHP
<?php
|
|
|
|
namespace Code\Widget;
|
|
|
|
use App;
|
|
use Code\Lib\Channel;
|
|
|
|
class Zcard implements WidgetInterface
|
|
{
|
|
|
|
public function widget(array $arguments): string
|
|
{
|
|
$channel = Channel::from_id(App::$profile_uid);
|
|
return Channel::get_zcard($channel, get_observer_hash(), ['width' => 875]);
|
|
}
|
|
}
|