* @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\Translation; use Doctrine\ORM\QueryBuilder; use Doctrine\Persistence\ObjectRepository; /** * Interface TranslationRepositoryInterface allows to fetch a TranslationInterface * via different methods. */ interface TranslationRepositoryInterface extends ObjectRepository { /** * @param mixed $alias * @param mixed|null $indexBy * * @return QueryBuilder */ public function createQueryBuilder($alias, $indexBy = null); }