* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Foundation\Database; interface EntityInterface { /** * Returns the name of the repository class for this entity. * If unspecified, a generic repository will be used for the entity. * * @return string or false value */ public static function getRepositoryClassName(); public function save(); public function delete(); public function hydrate(array $keyValueData); }