| @@ 457-465 (lines=9) @@ | ||
| 454 | * @param $key |
|
| 455 | * @return mixed|null |
|
| 456 | */ |
|
| 457 | public function getAttrib($key) |
|
| 458 | { |
|
| 459 | $key = (string)$key; |
|
| 460 | if (!isset($this->_attribs[$key])) { |
|
| 461 | return null; |
|
| 462 | } |
|
| 463 | ||
| 464 | return $this->_attribs[$key]; |
|
| 465 | } |
|
| 466 | ||
| 467 | /** |
|
| 468 | * @return $this |
|
| @@ 37-44 (lines=8) @@ | ||
| 34 | return $this; |
|
| 35 | } |
|
| 36 | ||
| 37 | public function getAttrib($key) |
|
| 38 | { |
|
| 39 | $key = (string)$key; |
|
| 40 | if (!isset($this->_attribs[$key])) { |
|
| 41 | return null; |
|
| 42 | } |
|
| 43 | ||
| 44 | return $this->_attribs[$key]; |
|
| 45 | } |
|
| 46 | ||
| 47 | /** |
|
| @@ 86-94 (lines=9) @@ | ||
| 83 | * @param $key |
|
| 84 | * @return mixed|null |
|
| 85 | */ |
|
| 86 | public function getAttrib($key) |
|
| 87 | { |
|
| 88 | $key = (string)$key; |
|
| 89 | if (!isset($this->_attribs[$key])) { |
|
| 90 | return null; |
|
| 91 | } |
|
| 92 | ||
| 93 | return $this->_attribs[$key]; |
|
| 94 | } |
|
| 95 | ||
| 96 | /** |
|
| 97 | * @return array |
|
| @@ 62-69 (lines=8) @@ | ||
| 59 | return $this->getAttrib('id');
|
|
| 60 | } |
|
| 61 | ||
| 62 | public function getAttrib($key) |
|
| 63 | {
|
|
| 64 | $key = (string)$key; |
|
| 65 | if (!isset($this->_attribs[$key])) {
|
|
| 66 | return null; |
|
| 67 | } |
|
| 68 | ||
| 69 | return $this->_attribs[$key]; |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|