PHP 클래스 Prooph\ServiceBus\Container\Plugin\Guard\RouteGuardFactory

파일 보기 프로젝트 열기: prooph/service-bus

공개 메소드들

메소드 설명
__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

메소드 상세

__callStatic() 공개 정적인 메소드

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

__construct() 공개 메소드

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

__invoke() 공개 메소드

public __invoke ( Interop\Container\ContainerInterface $container ) : RouteGuard
$container Interop\Container\ContainerInterface
리턴 Prooph\ServiceBus\Plugin\Guard\RouteGuard