public function __construct(KernelInterface $kernel)
 {
     if ($kernel instanceof Symfony1Kernel) {
         $this->configuration = $kernel->getConfiguration();
     }
 }