12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- /**
- * Gearman Bundle for Symfony2
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- *
- * Feel free to edit as you please, and have fun.
- *
- * @author Marc Morera <yuhu@mmoreram.com>
- */
- namespace Mmoreram\GearmanBundle\Dispatcher\Abstracts;
- use Symfony\Component\EventDispatcher\EventDispatcherInterface;
- /**
- * Gearman execute methods. All Worker methods
- *
- * @author Marc Morera <yuhu@mmoreram.com>
- *
- * @since 2.3.3
- */
- abstract class AbstractGearmanDispatcher
- {
- /**
- * @var EventDispatcherInterface
- *
- * Event dispatcher
- */
- protected $eventDispatcher;
- /**
- * Construct method
- *
- * @param EventDispatcherInterface $eventDispatcher Event dispatcher
- */
- public function __construct(EventDispatcherInterface $eventDispatcher)
- {
- $this->eventDispatcher = $eventDispatcher;
- }
- }
|