Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10750789
AMQPAction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
958 B
Referenced Files
None
Subscribers
None
AMQPAction.php
View Options
<?php
namespace
Nasqueron\Notifications\Actions
;
class
AMQPAction
extends
Action
{
/**
* The action done on the broker ('publish', 'consume')
*
* @var string
*/
public
$method
;
/**
* The queue or exchange target on the broker
*
* @var string
*/
public
$target
;
/**
* The routing key
*
* @var string
*/
public
$routingKey
;
/**
* Initializes a new instance of a AMQP action to report
*
* @param string $method The action done on the broker (e.g. 'publish')
* @param string $target The queue or exchange target on the broker
* @param string $routingKey The routing key for this exchange or queue
*/
public
function
__construct
(
string
$method
,
string
$target
,
string
$routingKey
=
''
)
{
parent
::
__construct
();
$this
->
method
=
$method
;
$this
->
target
=
$target
;
$this
->
routingKey
=
$routingKey
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jul 27, 20:36 (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2778387
Default Alt Text
AMQPAction.php (958 B)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment