public function __construct(\Solarium_Client $solarium, KernelInterface $kernel) { $this->solarium = $solarium; $this->kernel = $kernel; }