Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to add extra information #711

Closed
Stevemoretz opened this issue Oct 7, 2021 · 4 comments
Closed

A way to add extra information #711

Stevemoretz opened this issue Oct 7, 2021 · 4 comments

Comments

@Stevemoretz
Copy link

Hi I searched through the issues but couldn't find about this, what if for example we would like to show user information along side the other sections is that possible and how?

@staabm
Copy link
Contributor

staabm commented Oct 7, 2021

which kind of information in which form? just a wall of text?

@Stevemoretz
Copy link
Author

Thank you for the fast reply, for example we have this :
Screen Shot 1400-07-15 at 12 31 03

Can I add another one of these sections? like :

User info
name something
email something
....

@staabm
Copy link
Contributor

staabm commented Oct 7, 2021

@Stevemoretz
Copy link
Author

Thanks! Easily done by:

		$handler = new \Whoops\Handler\PrettyPageHandler;
		$handler->addDataTable('userInfo',['hello'=>'hi']);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants