Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93623420
DiffusionStableCommitNameQuery.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 30, 05:49
Size
759 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 05:49 (2 d)
Engine
blob
Format
Raw Data
Handle
22675144
Attached To
rPH Phabricator
DiffusionStableCommitNameQuery.php
View Options
<?php
abstract
class
DiffusionStableCommitNameQuery
extends
DiffusionQuery
{
private
$branch
;
private
$repository
;
public
function
setBranch
(
$branch
)
{
$this
->
branch
=
$branch
;
return
$this
;
}
public
function
getBranch
()
{
return
$this
->
branch
;
}
public
function
setRepository
(
PhabricatorRepository
$repository
)
{
$this
->
repository
=
$repository
;
return
$this
;
}
public
function
getRepository
()
{
return
$this
->
repository
;
}
final
public
static
function
newFromRepository
(
PhabricatorRepository
$repository
)
{
$obj
=
parent
::
initQueryObject
(
__CLASS__
,
$repository
);
$obj
->
setRepository
(
$repository
);
return
$obj
;
}
final
public
function
load
()
{
return
$this
->
executeQuery
();
}
}
Event Timeline
Log In to Comment