Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F109613230
DiffusionLowLevelQuery.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
Tue, Apr 22, 16:53
Size
518 B
Mime Type
text/x-php
Expires
Thu, Apr 24, 16:53 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25670177
Attached To
rPH Phabricator
DiffusionLowLevelQuery.php
View Options
<?php
abstract
class
DiffusionLowLevelQuery
extends
Phobject
{
private
$repository
;
abstract
protected
function
executeQuery
();
public
function
setRepository
(
PhabricatorRepository
$repository
)
{
$this
->
repository
=
$repository
;
return
$this
;
}
public
function
getRepository
()
{
return
$this
->
repository
;
}
public
function
execute
()
{
if
(!
$this
->
getRepository
())
{
throw
new
Exception
(
"Call setRepository() before execute()!"
);
}
return
$this
->
executeQuery
();
}
}
Event Timeline
Log In to Comment