_object = $object; $this->_method = $method; } public function doAction() { $methodName = $this->_method; $this->_object->$methodName(); } }