francisbesset / sfcontextbundle
The symfony's sfContext in Symfony2
Installs: 499
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 3
Forks: 3
Open Issues: 0
Type:symfony-bundle
Requires
- symfony/framework-bundle: ~2.0
This package is auto-updated.
Last update: 2024-10-24 04:12:54 UTC
README
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!