1 | <?php |
||
5 | class ExchangeArgument extends BaseObject |
||
6 | { |
||
7 | /** |
||
8 | * @var integer |
||
9 | * If messages to this exchange cannot otherwise be routed, send them to the alternate exchange named here. |
||
10 | */ |
||
11 | const ALTERNATE_EXCHAGE = 'alternate-exchange'; |
||
12 | |||
13 | |||
14 | private $argumentName; |
||
15 | |||
16 | /** |
||
17 | * @return String |
||
18 | */ |
||
19 | 6 | public function getArgumentName() |
|
23 | |||
24 | 6 | public function __construct(String $argument, string $value) |
|
30 | |||
31 | 6 | public function validate($value) : bool |
|
46 | } |
||
47 |