26
Jun 2013

Diving into the strange world of PHP Reflection API

Being a Mouf developer, I have been quite heavily relying on the PHP Reflection API, and so far, I must say things were quite ok.

PHP provides a nice API to access your code structure through ReflectionClass, ReflectionMethod, ReflectionProperty, etc...

Recently, I started adding support for traits in Mouf. This means that I need to do some reflection on traits. In particular, I need to answer this question:

Read more...