/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/App/ResourceConnection/SourceProviderInterface.php
52 строки
1 KB
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2015 Adobe * All Rights Reserved. */ namespace Magento\Framework\App\ResourceConnection; /** * @api * @since 100.0.2 */ interface SourceProviderInterface extends \Traversable { /** * Returns main table name - extracted from "module/table" style and * validated by db adapter * * @return string */ public function getMainTable(); /** * Get primary key field name * * @throws \Magento\Framework\Exception\LocalizedException * @return string */ public function getIdFieldName(); /** * @param string $fieldName * @param null|string $alias * @return $this */ public function addFieldToSelect($fieldName, $alias = null); /** * Get \Magento\Framework\DB\Select instance and applies fields to select if needed * * @return \Magento\Framework\DB\Select */ public function getSelect(); /** * Wrapper for compatibility with \Magento\Framework\Data\Collection\AbstractDb * * @param mixed $attribute * @param mixed $condition * @return $this|\Magento\Framework\Data\Collection\AbstractDb */ public function addFieldToFilter($attribute, $condition = null); }