public function andReturn() { if ($this->_closures !== null) { throw new Exception("Some closure(s) has already been set."); } $this->_returns = func_get_args(); }