@@ -19,6 +19,11 @@ |
||
| 19 | 19 | private $message; |
| 20 | 20 | |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $property |
|
| 24 | + * |
|
| 25 | + * @return integer |
|
| 26 | + */ |
|
| 22 | 27 | private function getProperty($property, $default = null) |
| 23 | 28 | { |
| 24 | 29 | if (property_exists($this->message, $property) && isset($this->message->{$property})) { |