Extended Reflection API Introduction The main objective of the Extended Reflection API is to enhance PHP by type information and annotations. Source code documentations often provide information which fulfils very similar purposes. But most times these documentations are not formal and only understandable by human beings. In the PHP world there is a tool called phpDocumentor/PHPDoc which provides