m6web/http-kernel-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.

Custom SF HttpKernel

Installs: 276 981

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 45

Forks: 3

Open Issues: 0

Type:symfony-bundle

v1.1.6 2020-03-16 13:21 UTC

This package is auto-updated.

Last update: 2022-03-27 14:01:38 UTC


README

Add some features to Symfony 2 HttpKernel

Features

  • getKStartTime() method which give the application start time.

In your app/AppKernel.php:

<?php
use M6Web\Component\HttpKernel\Kernel;

class AppKernel extends Kernel
{
    // ...
}
  • KernelExceptionListener listener catch kernel exceptions events and dispatch another event with status code / response
  • KernelTerminateListener listener catch kernel terminate events and dispatch another with start time, memory consumed, route and method

Launch tests

$ ./vendor/bin/atoum