public function __get($name) { // Handle $this->input if ($name == 'input') { return $this->container->input; } return $this->getState($name); }