for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PSB\Core\Transport\Config;
class TransportReceiveInfrastructure
{
/**
* @var callable
*/
private $messagePusherFactory;
private $queueCreatorFactory;
* @param callable $messagePusherFactory
* @param callable $queueCreatorFactory
public function __construct(
callable $messagePusherFactory,
callable $queueCreatorFactory
) {
$this->messagePusherFactory = $messagePusherFactory;
$this->queueCreatorFactory = $queueCreatorFactory;
}
* @return callable
public function getMessagePusherFactory()
return $this->messagePusherFactory;
public function getQueueCreatorFactory()
return $this->queueCreatorFactory;