| Current Path : /home/rtorresani/www/vendor/magento/framework/Model/ResourceModel/Type/ |
| Current File : //home/rtorresani/www/vendor/magento/framework/Model/ResourceModel/Type/AbstractType.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\Model\ResourceModel\Type;
abstract class AbstractType
{
/**
* Name
*
* @var String
*/
protected $_name = '';
/**
* Entity class
*
* @var String
*/
protected $_entityClass = \Magento\Framework\Model\ResourceModel\Entity\AbstractEntity::class;
/**
* Retrieve entity type
*
* @return String
*/
public function getEntityClass()
{
return $this->_entityClass;
}
/**
* Set name
*
* @param String $name
* @return void
*/
public function setName($name)
{
$this->_name = $name;
}
/**
* Retrieve name
*
* @return String
*/
public function getName()
{
return $this->_name;
}
}