| @@ 34-43 (lines=10) @@ | ||
| 31 | * |
|
| 32 | * @return $this |
|
| 33 | */ |
|
| 34 | public function setData($key, $value = null) |
|
| 35 | { |
|
| 36 | if ($key === (array)$key) { |
|
| 37 | $this->_data = $key; |
|
| 38 | } else { |
|
| 39 | $this->_data[$key] = $value; |
|
| 40 | } |
|
| 41 | ||
| 42 | return $this; |
|
| 43 | } |
|
| 44 | } |
|
| 45 | ||
| @@ 85-94 (lines=10) @@ | ||
| 82 | * |
|
| 83 | * @return $this |
|
| 84 | */ |
|
| 85 | public function setData($key, $value = null) |
|
| 86 | { |
|
| 87 | if ($key === (array)$key) { |
|
| 88 | $this->_data = $key; |
|
| 89 | } else { |
|
| 90 | $this->_data[$key] = $value; |
|
| 91 | } |
|
| 92 | ||
| 93 | return $this; |
|
| 94 | } |
|
| 95 | ||
| 96 | /** |
|
| 97 | * {@inheritdoc} |
|
| @@ 34-43 (lines=10) @@ | ||
| 31 | * |
|
| 32 | * @return $this |
|
| 33 | */ |
|
| 34 | public function setData($key, $value = null) |
|
| 35 | { |
|
| 36 | if ($key === (array)$key) { |
|
| 37 | $this->_data = $key; |
|
| 38 | } else { |
|
| 39 | $this->_data[$key] = $value; |
|
| 40 | } |
|
| 41 | ||
| 42 | return $this; |
|
| 43 | } |
|
| 44 | ||
| 45 | /** |
|
| 46 | * Init default option items |
|
| @@ 35-44 (lines=10) @@ | ||
| 32 | * |
|
| 33 | * @return $this |
|
| 34 | */ |
|
| 35 | public function setData($key, $value = null) |
|
| 36 | { |
|
| 37 | if ($key === (array)$key) { |
|
| 38 | $this->_data = $key; |
|
| 39 | } else { |
|
| 40 | $this->_data[$key] = $value; |
|
| 41 | } |
|
| 42 | ||
| 43 | return $this; |
|
| 44 | } |
|
| 45 | ||
| 46 | /** |
|
| 47 | * {@inheritdoc} |
|
| @@ 54-63 (lines=10) @@ | ||
| 51 | /** |
|
| 52 | * {@inheritdoc} |
|
| 53 | */ |
|
| 54 | public function setData($key, $value) |
|
| 55 | { |
|
| 56 | if ($key === (array)$key) { |
|
| 57 | $this->_data = $key; |
|
| 58 | } else { |
|
| 59 | $this->_data[$key] = $value; |
|
| 60 | } |
|
| 61 | ||
| 62 | return $this; |
|
| 63 | } |
|
| 64 | ||
| 65 | /** |
|
| 66 | * {@inheritdoc} |
|