Mmoreram\GearmanBundle\Service\GearmanExecute::setContainer PHP Method

setContainer() public method

Set container
public setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container ) : GearmanExecute
$container Symfony\Component\DependencyInjection\ContainerInterface Container
return GearmanExecute self Object
    public function setContainer(ContainerInterface $container)
    {
        $this->container = $container;
        return $this;
    }