Skip to content

francisbesset/sfContextBundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sfContextBundle, The symfony's sfContext in Symfony2

Use the fantastic sfContext instance in your Symfony2 project.

Information

This bundle is a joke. Please do not use.

Installation

First, grab sfContextBundle using Composer:

composer require francisbesset/sfContextBundle:~1.0

Then register the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new sfContextBundle\sfContextBundle(),
    );
}

Usage

<?php
// any class, code
sfContext::getInstance()->getContainer();

ENJOY!

About

The symfony's sfContext in Symfony2

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages