Created
November 10, 2014 11:47
-
-
Save max107/0c7370f623de6e3fa83b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Return the value of any protected class variable. | |
| * | |
| * // Get the response parameters | |
| * $params = $response->params; | |
| * | |
| * @param string variable name | |
| * @return mixed | |
| */ | |
| public function __get($key) | |
| { | |
| return $this->$key; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment