1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Translate;
- /**
- * Magento translate adapter interface
- *
- * @api
- * @since 100.0.2
- */
- interface AdapterInterface
- {
- /**
- * Translate string
- *
- * @param string|array $messageId
- * @param null $locale
- * @return string
- */
- public function translate($messageId, $locale = null);
- // @codingStandardsIgnoreStart
- /**
- * Translate string
- *
- * @return string
- * @SuppressWarnings(PHPMD.ShortMethodName)
- */
- public function __();
- // @codingStandardsIgnoreEnd
- }
|