Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106537190
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
Thu, Mar 27, 01:20
Size
1 KB
Mime Type
text/x-php
Expires
Sat, Mar 29, 01:20 (2 d)
Engine
blob
Format
Raw Data
Handle
25213925
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
;
}
protected
function
setCommitType
(
$type
)
{
$this
->
commitType
=
$type
;
return
$this
;
}
protected
function
setTagContent
(
$content
)
{
$this
->
tagContent
=
$content
;
return
$this
;
}
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