streams/Code/Widget/Shortprofile.php
2022-10-23 20:39:49 -07:00

18 lines
335 B
PHP

<?php
namespace Code\Widget;
use App;
use Code\Lib\Libprofile;
class Shortprofile implements WidgetInterface
{
public function widget(array $arguments): string
{
if (App::$profile['profile_uid']) {
return Libprofile::widget(App::$profile, false, true, true);
}
return EMPTY_STR;
}
}