69 lines
1.4 KiB
PHP
Executable File
69 lines
1.4 KiB
PHP
Executable File
<?php
|
|
/**
|
|
* Mageplaza
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the mageplaza.com license that is
|
|
* available through the world-wide-web at this URL:
|
|
* https://www.mageplaza.com/LICENSE.txt
|
|
*
|
|
* DISCLAIMER
|
|
*
|
|
* Do not edit or add to this file if you wish to upgrade this extension to newer
|
|
* version in the future.
|
|
*
|
|
* @category Mageplaza
|
|
* @package Mageplaza_Blog
|
|
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
|
|
* @license https://www.mageplaza.com/LICENSE.txt
|
|
*/
|
|
|
|
namespace Mageplaza\Blog\Model\Config;
|
|
|
|
use Magento\Framework\DataObject;
|
|
use Mageplaza\Blog\Api\Data\Config\SeoInterface;
|
|
|
|
/**
|
|
* Class Seo
|
|
* @package Mageplaza\Blog\Model\Config
|
|
*/
|
|
class Seo extends DataObject implements SeoInterface
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function getMetaTitle()
|
|
{
|
|
return $this->getData(self::META_TITLE);
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function setMetaTitle($value)
|
|
{
|
|
$this->setData(self::META_TITLE, $value);
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function getMetaDescription()
|
|
{
|
|
return $this->getData(self::META_DESCRIPTION);
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function setMetaDescription($value)
|
|
{
|
|
$this->setData(self::META_DESCRIPTION, $value);
|
|
|
|
return $this;
|
|
}
|
|
}
|