Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/42' into develop
Browse files Browse the repository at this point in the history
Forward port #42
  • Loading branch information
weierophinney committed Jun 27, 2016
2 parents 3699fe9 + 88dd82a commit 3ab1cc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/book/generator/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ class World

Another common use case is to update existing code -- for instance, to add a method to a class. In
such a case, you must first inspect the existing code using reflection, and then add your new
method. `Zend\Code\Generator` makes this trivially simple, by leveraging
\[ZendCodeReflection\](zend.code.reflection).
method. `Zend\Code\Generator` makes this trivially simple, by leveraging `Zend\Code\Reflection`.

As an example, let's say we've saved the above to the file `World.php`, and have already included
it. We could then do the following:
Expand Down

0 comments on commit 3ab1cc0

Please sign in to comment.