public function __call($name, $arguments) { if (RtHelper::checkHTTPMethod($name)) { if (isset($arguments[0])) { return $this->store($name, $arguments[0]); } } elseif (RtHelper::checkDecorator($name)) { if (isset($arguments[0])) { return $this->decorate($name, $arguments[0]); } else { return $this->decorate($name); } } }