kint-php / kint

Kint - Advanced PHP dumper
https://kint-php.github.io/kint/
MIT License
2.77k stars 291 forks source link

wrapping Kint::dump (feature request?) #215

Closed siran closed 7 years ago

siran commented 7 years ago

If I use a wrapper function to Kint::dump the file&line number where the call to the function was made appears to be in my wrapper, and not on the true line where my wrapper is called.

Is there an option to offset the way Kint displays the caller line number?

jnvsor commented 7 years ago

Add your wrapper to Kint::$aliases