Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99511885
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, Jan 25, 02:49
Size
759 B
Mime Type
text/x-php
Expires
Mon, Jan 27, 02:49 (2 d)
Engine
blob
Format
Raw Data
Handle
23815112
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