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