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

Afficher le fichier Open project: prooph/service-bus

Méthodes publiques

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

Method Details

__callStatic() public static méthode

Configuration example: [ \Prooph\ServiceBus\Container\Plugin\Guard\RouteGuardFactory::class, 'exposeMessageName' ] ];
public static __callStatic ( string $name, array $arguments ) : RouteGuard
$name string
$arguments array
Résultat Prooph\ServiceBus\Plugin\Guard\RouteGuard

__construct() public méthode

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

__invoke() public méthode

public __invoke ( Interop\Container\ContainerInterface $container ) : RouteGuard
$container Interop\Container\ContainerInterface
Résultat Prooph\ServiceBus\Plugin\Guard\RouteGuard