public function returns($method, $value, $args = false) { $this->dieOnNoMethod($method, 'set return'); $this->actions->register($method, $args, new SimpleReturn($value)); }