Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111884058
PhabricatorAmazonSNSFuture.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 5, 18:41
Size
740 B
Mime Type
text/x-php
Expires
Wed, May 7, 18:41 (2 d)
Engine
blob
Format
Raw Data
Handle
25982366
Attached To
rPH Phabricator
PhabricatorAmazonSNSFuture.php
View Options
<?php
final
class
PhabricatorAmazonSNSFuture
extends
PhutilAWSFuture
{
private
$parameters
=
array
();
private
$timeout
;
public
function
setParameters
(
$parameters
)
{
$this
->
parameters
=
$parameters
;
return
$this
;
}
protected
function
getParameters
()
{
return
$this
->
parameters
;
}
public
function
getServiceName
()
{
return
'sns'
;
}
public
function
setTimeout
(
$timeout
)
{
$this
->
timeout
=
$timeout
;
return
$this
;
}
public
function
getTimeout
()
{
return
$this
->
timeout
;
}
protected
function
getProxiedFuture
()
{
$future
=
parent
::
getProxiedFuture
();
$timeout
=
$this
->
getTimeout
();
if
(
$timeout
)
{
$future
->
setTimeout
(
$timeout
);
}
return
$future
;
}
}
Event Timeline
Log In to Comment