/** * @param \Kendo\Content\PosterInterface|\Kendo\Content\ContentInterface $item * * @return string */ public function toLink($item) { if (!$item) { return ''; } return '<a href="' . $item->toHref() . '">' . $item->getTitle() . '</a>'; }