Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AbstractAdapter.php
Go to the documentation of this file.
1 <?php
11 
12 abstract class AbstractAdapter extends \Zend_Translate_Adapter implements AdapterInterface
13 {
23  protected function _loadTranslationData($data, $locale, array $options = [])
24  {
25  return [];
26  }
27 
39  public function isTranslated($messageId, $original = false, $locale = null)
40  {
41  return false;
42  }
43 
51  public function setLocale($locale)
52  {
53  return $this;
54  }
55 
61  public function toString()
62  {
63  return \Magento\Framework\Translate\Adapter::class;
64  }
65 }
_loadTranslationData($data, $locale, array $options=[])
isTranslated($messageId, $original=false, $locale=null)