Created
August 19, 2013 09:03
-
-
Save gecatalin/6267087 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Gecatalin\Provider; | |
use Silex\Application; | |
use Silex\ServiceProviderInterface; | |
use RedBean_Facade; | |
class RedBeanServiceProvider extends RedBean_Facade implements ServiceProviderInterface | |
{ | |
public function boot(Application $app){ | |
} | |
public function register(Application $app) | |
{ | |
$this->setup(); | |
$app['db'] = $this; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment