You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
303 B

<?php
/**
* Created by Error202
* Date: 29.01.2018
*/
namespace frontend\widgets\general;
use yii\helpers\Url;
use yii\base\Widget;
class FollowWidget extends Widget
{
public function run(): string
{
$url = Url::canonical();
return $this->render('follow_us', [
'url' => $url,
]);
}
}