Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96595466
DiffusionExpandShortNameQuery.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, Dec 28, 17:22
Size
928 B
Mime Type
text/x-php
Expires
Mon, Dec 30, 17:22 (2 d)
Engine
blob
Format
Raw Data
Handle
23194692
Attached To
rPH Phabricator
DiffusionExpandShortNameQuery.php
View Options
<?php
abstract
class
DiffusionExpandShortNameQuery
extends
DiffusionQuery
{
private
$commit
;
private
$commitType
=
'commit'
;
private
$tagContent
;
private
$repository
;
public
function
setCommit
(
$commit
)
{
$this
->
commit
=
$commit
;
}
public
function
getCommit
()
{
return
$this
->
commit
;
}
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
expand
()
{
$this
->
executeQuery
();
return
array
(
'commit'
=>
$this
->
commit
,
'commitType'
=>
$this
->
commitType
,
'tagContent'
=>
$this
->
tagContent
);
}
}
Event Timeline
Log In to Comment