Skip to content
This repository has been archived by the owner on Apr 21, 2018. It is now read-only.

Commit

Permalink
fix service interface usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Zogg committed Jul 13, 2016
1 parent 002e8cd commit 752f959
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/Provider/SaxulumWebProfilerProvider.php
Expand Up @@ -2,28 +2,22 @@

namespace Saxulum\SaxulumWebProfiler\Provider;

use Pimple\Container;
use Pimple\ServiceProviderInterface;
use Saxulum\DoctrineMongodbOdmManagerRegistry\Doctrine\ManagerRegistry;
use Saxulum\SaxulumWebProfiler\DataCollector\DoctrineDataCollector;
use Saxulum\SaxulumWebProfiler\DataCollector\DoctrineMongoDbDataCollector;
use Saxulum\SaxulumWebProfiler\DataCollector\DoctrineMongoDbStandardDataCollector;
use Saxulum\SaxulumWebProfiler\Logger\DbalLogger;
use Saxulum\SaxulumWebProfiler\Logger\DoctrineMongoDbAggregateLogger;
use Saxulum\SaxulumWebProfiler\Logger\DoctrineMongoDbLogger;
use Saxulum\SaxulumWebProfiler\Twig\DoctrineExtension;
use Silex\Application;
use Silex\ServiceProviderInterface;

class SaxulumWebProfilerProvider implements ServiceProviderInterface
{
/**
* {@inheritdoc}
*/
public function boot(Application $app) {}

/**
* {@inheritdoc}
*/
public function register(Application $app)
public function register(Container $app)
{
if (isset($app['profiler'])) {

Expand Down

0 comments on commit 752f959

Please sign in to comment.