Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
StringUtils.php
Go to the documentation of this file.
1 <?php
18 
20 {
24  protected function _construct()
25  {
26  $this->_init(\Magento\Translation\Model\ResourceModel\StringUtils::class);
27  }
28 
33  public function setString($string)
34  {
35  $this->setData('string', $string);
36  return $this;
37  }
38 
44  public function getString()
45  {
46  return $this->getData('string');
47  }
48 }
getData($key='', $index=null)
Definition: DataObject.php:119