diff --git a/language/generators.xml b/language/generators.xml index e1a97fc804..8d8a36913e 100644 --- a/language/generators.xml +++ b/language/generators.xml @@ -420,6 +420,10 @@ class Generator implements Iterator { // the yield expression and // resumes execution of the // generator. + + public function throw(Exception $ex); + // Throws an exception into the + // generator. } ?> ]]>