public function boot()
    {
        $kernel = $this->container->get('kernel');

        AnnotationRegistry::registerFile($kernel
            ->locateResource("@GearmanBundle/Driver/Gearman/Work.php")
        );

        AnnotationRegistry::registerFile($kernel
            ->locateResource("@GearmanBundle/Driver/Gearman/Job.php")
        );
    }