Commit Graph

10 Commits

Author SHA1 Message Date
kenjis c4bc3d8798 Fix sample code
Add `;` at the end.
2016-01-11 10:31:33 +09:00
Denis Sokolov 083d5a674e Move utility functions to the utility class, fix #351 2015-12-20 18:45:53 +02:00
Markus Staab fa4206ec14 Removed PlainTextHandler->(onlyForCommandLine|outputOnlyIfCommandLine). Added Whoops\isCommandLine() as a more flexible successor. 2015-11-29 16:22:11 +01:00
Markus Staab 26f3dba7b5 removed onlyForAjaxRequests from JsonResponseHandler. Added a new Whoops\isAjaxRequest helper function to use instead.
Use it before registering a Handler to achive the "onlyForAjaxRequests" functionality.
```
if (Whoops\isAjaxRequest()){
  $run->addHandler($myHandler)
}
```

closes #319.
2015-11-23 09:29:31 +01:00
Geolim4 ccd137eec8 Callable editor can now return an array 2015-05-15 03:49:13 +02:00
Matt A 9803177431 fix typo in API Documentation
should be addResourcePath (singular) - https://github.com/filp/whoops/blob/master/src/Whoops/Handler/PrettyPageHandler.php#L377
2015-03-26 12:25:21 -04:00
Hannes Van De Vreken 2face1a5cc More consistent spaces 2015-01-14 21:54:17 +01:00
Hannes Van De Vreken d5dbc7e532 More consistent spaces 2015-01-14 21:46:44 +01:00
Denis Sokolov 614f0de7c8 Docs: fix about PrettyPageHandler resource path methods 2014-04-20 11:14:11 +09:00
Graham Campbell b22af293be Moved over docs from wiki 2014-02-19 22:55:57 +00:00