Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F107883725
DoorkeeperBridge.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
Fri, Apr 11, 09:54
Size
848 B
Mime Type
text/x-php
Expires
Sun, Apr 13, 09:54 (2 d)
Engine
blob
Format
Raw Data
Handle
25454743
Attached To
rPH Phabricator
DoorkeeperBridge.php
View Options
<?php
abstract
class
DoorkeeperBridge
extends
Phobject
{
private
$viewer
;
private
$throwOnMissingLink
;
public
function
setThrowOnMissingLink
(
$throw_on_missing_link
)
{
$this
->
throwOnMissingLink
=
$throw_on_missing_link
;
return
$this
;
}
final
public
function
setViewer
(
$viewer
)
{
$this
->
viewer
=
$viewer
;
return
$this
;
}
final
public
function
getViewer
()
{
return
$this
->
viewer
;
}
public
function
isEnabled
()
{
return
true
;
}
abstract
public
function
canPullRef
(
DoorkeeperObjectRef
$ref
);
abstract
public
function
pullRefs
(
array
$refs
);
public
function
fillObjectFromData
(
DoorkeeperExternalObject
$obj
,
$result
)
{
return
;
}
public
function
didFailOnMissingLink
()
{
if
(
$this
->
throwOnMissingLink
)
{
throw
new
DoorkeeperMissingLinkException
();
}
return
null
;
}
}
Event Timeline
Log In to Comment