\Rareloop\Lumberjack\Helpers
class, so that the global namespace isn't getting polluted. You can safely use these methods without fear of function names clashing.vendor/rareloop/lumberjack-core/src/functions.php
.composer.json
file:composer dump-autoload
.app
helper returns the current reference to the container.app()
.config
helper allows you to get values from your config.config
helper you can set config values.view
helper returns a new Rareloop\Lumberjack\Http\Responses\TimberResponse
.route
helper generates a URL from a named route.redirect
helper returns a new Zend\Diactoros\Response\RedirectResponse
, which redirects the user to a given URL.session
helper to retrieve and store data in the current session. Passing in 1 (string) argument will get the value of that item from the session. Passing in an array of key/value pairs will add each pair to the session.request
helper returns the current ServerRequest
object, which means you get access to all these available methods.with()
:report
method on the Exception Handler, to ensure that an exception is reported.v4.3.0
and abovelogger
helper can be used to write debug messages to your logs.logger
function with no arguments. This will get you an instance of the PSR3 compliant logger that is bound to the container. By default Lumberjack uses Monolog\Logger
.