Widget/Subscription/OwnerWidget.php
<?php
namespace Ds\Bundle\NotificationBundle\Widget\Subscription;
use Ds\Bundle\WidgetBundle\Widget\Widget;
/**
* Class OwnerWidget
*/
class OwnerWidget extends Widget
{
/**
* {@inheritdoc}
*/
public function getTitle()
{
return 'ds.notification.subscription.widget.owner';
}
/**
* {@inheritdoc}
*/
public function getContent(array $data = [])
{
return $this->templating->render('@DsNotificationBundle/Resources/views/Subscription/widget/owner.html.twig', $data);
}
}