Location: PHPKode > scripts > GitList > klaussilveira-gitlist-dfc3c6e/lib/Git/GitServiceProvider.php
<?php

namespace Git;

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) {
            return new Client($app);
        };
    }

    public function boot(Application $app)
    {
    }
}
Return current item: GitList