Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private function setAttribute($name, $value = null)
- {
- if (isset($this->reply[$name])) {
- if (empty($value)) {
- unset($this->reply[$name])
- return $this;
- }
- if (is_array($this->reply[$name]) && is_array($value)) {
- $this->reply[$name] += $value;
- return $this;
- }
- }
- $this->reply[$name] = $value;
- return $this;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement