1 <?xml version="1.0" encoding="UTF-8"?>
3 <sect1 id="zend.reflection.introduction">
4 <title>Introduction</title>
7 <classname>Zend_Reflection</classname> is a drop-in extension to <acronym>PHP</acronym>'s
8 own <ulink url="http://php.net/reflection">Reflection <acronym>API</acronym></ulink>,
9 providing several additional features:
15 Ability to retrieve return values types.
21 Ability to retrieve method and function parameter types.
27 Ability to retrieve class property types.
33 DocBlocks gain a Reflection class, allowing introspection of
34 docblocks. This provides the ability to determine what annotation
35 tags have been defined as well as to retrieve their values, and the
36 ability to retrieve the short and long descriptions.
42 Files gain a Reflection class, allowing introspection of <acronym>PHP</acronym>
43 files. This provides the ability to determine what functions and classes
44 are defined in a given file, as well as to introspect them.
50 Ability to override any Reflection class with your own variant, for
51 the entire reflection tree you create.
57 In general, <classname>Zend_Reflection</classname> works just like the standard
58 Reflection <acronym>API</acronym>, but provides a few additional methods for retrieving
59 artifacts not defined in the Reflection <acronym>API</acronym>.