File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-url-rewrite/Block/Link.php
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Label & link block
*
* @method string getLabel()
* @method string getItemUrl()
* @method string getItemName()
*/
namespace Magento\UrlRewrite\Block;
class Link extends \Magento\Framework\View\Element\AbstractBlock
{
/**
* Render output
*
* @return string
*/
protected function _toHtml()
{
return '<p>' . $this->getLabel() . ' <a href="' . $this->getItemUrl() . '">' . $this->escapeHtml(
$this->getItemName()
) . '</a></p>';
}
}