Spamworldpro Mini Shell
Spamworldpro


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/extmag/core/Model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/extmag/core/Model/Config.php
<?php
/**
 * Copyright © Extmag. All rights reserved.
 */

namespace Extmag\Core\Model;

use Extmag\Core\Api\Data\ConfigInterface;
use Magento\Framework\Model\AbstractModel;

class Config extends AbstractModel implements ConfigInterface
{
    /**
     * Constructor
     *
     * @return void
     */
    protected function _construct()
    {
        parent::_construct();
        $this->setIdFieldName('entity_id');
        $this->_init(ResourceModel\Config::class);
    }

    /**
     * @inheritDoc
     */
    public function getId()
    {
        return parent::getData(self::ENTITY_ID);
    }

    /**
     * @inheritDoc
     */
    public function getModule()
    {
        return parent::getData(self::MODULE);
    }

    /**
     * @inheritDoc
     */
    public function getPath()
    {
        return parent::getData(self::PATH);
    }

    /**
     * @inheritDoc
     */
    public function getValue()
    {
        return parent::getData(self::VALUE);
    }

    /**
     * @inheritDoc
     */
    public function getCreatedTime()
    {
        return parent::getData(self::CREATED_TIME);
    }

    /**
     * @inheritDoc
     */
    public function setId($id)
    {
        return $this->setData(self::ENTITY_ID, $id);
    }

    /**
     * @inheritDoc
     */
    public function setModule($module)
    {
        return $this->setData(self::MODULE, $module);
    }

    /**
     * @inheritDoc
     */
    public function setPath($path)
    {
        return $this->setData(self::PATH, $path);
    }

    /**
     * @inheritDoc
     */
    public function setValue($value)
    {
        return $this->setData(self::VALUE, $value);
    }

    /**
     * @inheritDoc
     */
    public function setCreatedTime($createdTime)
    {
        return $this->setData(self::CREATED_TIME, $createdTime);
    }
}

Spamworldpro Mini