* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShopBundle\Translation\Provider; /** * Translation provider specific to email subjects. */ class MailsProvider extends AbstractProvider implements UseDefaultCatalogueInterface { /** * {@inheritdoc} */ public function getTranslationDomains() { return ['EmailsSubject*']; } /** * {@inheritdoc} */ public function getFilters() { return ['#EmailsSubject*#']; } /** * {@inheritdoc} */ public function getIdentifier() { return 'mails'; } /** * {@inheritdoc} */ public function getDefaultResourceDirectory() { return $this->resourceDirectory . DIRECTORY_SEPARATOR . 'default'; } }