Created
December 20, 2013 15:36
-
-
Save ronan-gloo/8056455 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
<?php | |
class SoapClient | |
{ | |
public function __call($method, $args) | |
{ | |
return $this; | |
} | |
public function __get($prop) | |
{ | |
return sprintf('<xml>%s:%s</xml>', __CLASS__, $prop); | |
} | |
public function __set($prop, $value) | |
{ | |
return $this; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment