28 if (isset($args[0]) && (strstr($args[0],
'=') || strstr($args[0],
'&'))) {
29 $key .=
'[' . strlen($args[0]) .
']';
31 switch (substr(
$method, 0, 3)) {
34 $data = $this->
getData($key, isset($args[0]) ? $args[0] :
null);
53 return isset($this->_data[$key]);
55 throw new \Magento\Framework\Exception\LocalizedException(
56 __(
"Invalid method %1::%2", get_class($this),
$method)
getData($key='', $index=null)
setData($key, $value=null)