[entity] implemented php 5.6 debugInfo [closes #21]