![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/mageworx/module-seoreports/Helper/ |
<?php /** * Copyright © MageWorx. All rights reserved. * See LICENSE.txt for license details. */ namespace MageWorx\SeoReports\Helper; use Magento\Framework\App\Helper\Context; class Data extends \Magento\Framework\App\Helper\AbstractHelper { /** * @var */ protected $helperLength; /** * Data constructor. * * @param \MageWorx\SeoAll\Helper\Length $helperLength * @param Context $context */ public function __construct( \MageWorx\SeoAll\Helper\Length $helperLength, Context $context ) { parent::__construct($context); $this->helperLength = $helperLength; } /** * @return int */ public function getMaxLengthMetaTitle() { return $this->helperLength->getMetaTitleMaxLength(); } /** * @return int */ public function getMaxLengthMetaDescription() { return $this->helperLength->getMetaDescriptionMaxLength(); } /** * @return int */ public function getMaxLengthUrlKey() { return $this->helperLength->getUrlMaxLength(); } /** * @return int */ public function getMaxLengthH1Content() { return $this->helperLength->getH1MaxLength(); } }