diff --git a/src/pjdietz/WellRESTed/Message.php b/src/pjdietz/WellRESTed/Message.php index 4311afe..5e6dfc3 100644 --- a/src/pjdietz/WellRESTed/Message.php +++ b/src/pjdietz/WellRESTed/Message.php @@ -49,63 +49,6 @@ abstract class Message // ------------------------------------------------------------------------- // Accessors - /** - * Magic accessor method - * - * @param string $propertyName - * @return mixed - */ - public function __get($propertyName) - { - $method = 'get' . ucfirst($propertyName); - if (method_exists($this, $method)) { - return $this->{$method}(); - } - return null; - } - - /** - * Magic accessor method - * - * @param string $propertyName - * @param $value - */ - public function __set($propertyName, $value) - { - $method = 'set' . ucfirst($propertyName); - if (method_exists($this, $method)) { - $this->{$method}($value); - } - } - - /** - * Magic accessor method - * - * @param string $propertyName - * @return boolean - */ - public function __isset($propertyName) - { - $method = 'isset' . ucfirst($propertyName); - if (method_exists($this, $method)) { - return $this->{$method}(); - } - return false; - } - - /** - * Magic accessor method - * - * @param string $propertyName - */ - public function __unset($propertyName) - { - $method = 'unset' . ucfirst($propertyName); - if (method_exists($this, $method)) { - $this->{$method}(); - } - } - /** * Return the body payload of the instance. *