News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Slawek Lukasiewicz's Blog:
Zend Framework Reflection
May 31, 2011 @ 08:18:56

Slawek Lukasiewicz has a recent post to his blog looking at a tool that comes bundled with PHP that can help you find out more about your own code (or really any other piece of code out there) - the Reflection API. In his post he looks specifically at the functionality the Zend Framework has built on top of the base PHP API.

Zend Framework has own Reflection extension. It is mostly build upon genuine PHP Reflection API and extends existing features. The completely new Zend_Reflection module feature is introspection of docBlock tags.

He includes two code examples using this component of the framework - grabbing the docblock off of a specific method (and even how to grab specific tags from inside it) and how to grab the body content out of a given method, with or without the docblock attached.

0 comments voice your opinion now!
zendframework reflection docblock method


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: Zend Framework URL Rewriting in IIS7

Developer Tutorials Blog: PHP array_walk(): Run an array through a function

Lorna Mitchell's Blog: 3 Ways to Access a Namespaced PHP Class

Padraic Brady's Blog: Zend Framework: Surviving The Deep End Book - Chapters 4, 5, 6, 7 and Appendix

Brian Moon's Blog: You have to be really smart to code PHP!


Community Events

Don't see your event here?
Let us know!


application opinion introduction install library community laravel release conference performance php7 configure symfony2 podcast framework interview example voicesoftheelephpant series api

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework