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

20 lines
325 B
PHP

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