ProxyTask

Implements \SymfonyBundles\Fork\TaskInterface

Class ProxyTask provides background outgoing HTTP requests in forked process

package

App\Task

Methods

OutgoingTask constructor to provide XML POST to target endpoint URLs with new headers

__construct(string $json, \Doctrine\ORM\EntityManager $em, \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $params, \Psr\Log\LoggerInterface $logger) 

Arguments

$json

string

$em

\Doctrine\ORM\EntityManager

$params

\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface

$logger

\Psr\Log\LoggerInterface

TaskInterface Execute function runs as a forked child process in background with logging attached

execute() 

Properties