PHP Class Prooph\ServiceBus\Container\Plugin\Guard\FinalizeGuardFactory

Show file Open project: prooph/service-bus

Public Methods

Method Description
__callStatic ( string $name, array $arguments ) : FinalizeGuard Creates a new instance with exposeMessageName flag, specifically meant to be used as static factory.
__construct ( boolean $exposeEventMessageName = false ) FinalizeGuardFactory constructor.
__invoke ( Interop\Container\ContainerInterface $container ) : FinalizeGuard

Method Details

__callStatic() public static method

Configuration example: [ \Prooph\ServiceBus\Container\Plugin\Guard\FinalizeGuardFactory::class, 'exposeMessageName' ] ];
public static __callStatic ( string $name, array $arguments ) : FinalizeGuard
$name string
$arguments array
return Prooph\ServiceBus\Plugin\Guard\FinalizeGuard

__construct() public method

FinalizeGuardFactory constructor.
public __construct ( boolean $exposeEventMessageName = false )
$exposeEventMessageName boolean

__invoke() public method

public __invoke ( Interop\Container\ContainerInterface $container ) : FinalizeGuard
$container Interop\Container\ContainerInterface
return Prooph\ServiceBus\Plugin\Guard\FinalizeGuard