Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92708378
Callback.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
Sat, Nov 23, 00:05
Size
501 B
Mime Type
text/x-php
Expires
Mon, Nov 25, 00:05 (2 d)
Engine
blob
Format
Raw Data
Handle
22492522
Attached To
rPH Phabricator
Callback.php
View Options
<?php
namespace
Balanced
;
use
Balanced\Resource
;
use
\RESTful\URISpec
;
/*
* A Callback is a publicly accessible location that can receive POSTed JSON
* data whenever an Event is generated.
*
* You create these using Balanced\Marketplace->createCallback.
*
*/
class
Callback
extends
Resource
{
protected
static
$_uri_spec
=
null
;
public
static
function
init
()
{
self
::
$_uri_spec
=
new
URISpec
(
'callbacks'
,
'id'
);
self
::
$_registry
->
add
(
get_called_class
());
}
}
Event Timeline
Log In to Comment