Parcourir la source

ZF-9535 - Fix mistype in "Prompt the User for Input" code example

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21888 44c647ce-9c0f-0410-b52a-842ac1e357ba
juokaz il y a 15 ans
Parent
commit
7dec2d9f64

+ 1 - 1
documentation/manual/en/module_specs/Zend_Tool_Framework-WritingProviders.xml

@@ -228,7 +228,7 @@ class My_Component_HelloProvider
         $nameResponse = $this->_registry
                              ->getClient()
                              ->promptInteractiveInput("Whats your name?");
-        $name = $name->getContent();
+        $name = $nameResponse->getContent();
 
         echo 'Hello' . $name . ', from my provider!';
     }