*/ namespace Mmoreram\GearmanBundle; use Doctrine\Common\Annotations\AnnotationRegistry; use Symfony\Component\HttpKernel\Bundle\Bundle; /** * Gearman Bundle * * @since 2.3.1 */ class GearmanBundle extends Bundle { /** * Boots the Bundle. */ 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") ); } }