RSS Git Download  Clone
Raw View History
Blames found: 18 Mode: php Binary: false


Hang on, we reloading big blames...
<?php
namespace GitList\Provider;
use GitList\Git\Client;
use Silex\Application; use Silex\ServiceProviderInterface; class GitServiceProvider implements ServiceProviderInterface {
/** * Register the Git\Client on the Application ServiceProvider
* * @param Application $app Silex Application * @return Git\Client Instance of the Git\Client
*/ public function register(Application $app) { $app['git'] = function () use ($app) {
$options['path'] = $app['git.client']; $options['hidden'] = $app['git.hidden'];
$options['ini.file'] = $app['ini.file']; $options['cache.repos'] = $app['cache.repos'];
$options['default_branch'] = $app['git.default_branch'];
return new Client($options);
}; }
public function boot(Application $app) { }
}