Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

BedrockStreaming/HttpKernelBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M6 Web Symfony Http Kernel Build Status

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