Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2894040
ArcanistWorkflowArgument.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
ArcanistWorkflowArgument.php
View Options
<?php
final
class
ArcanistWorkflowArgument
extends
Phobject
{
private
$key
;
private
$help
;
private
$wildcard
;
private
$parameter
;
private
$isPathArgument
;
public
function
setKey
(
$key
)
{
$this
->
key
=
$key
;
return
$this
;
}
public
function
getKey
(
)
{
return
$this
->
key
;
}
public
function
setWildcard
(
$wildcard
)
{
$this
->
wildcard
=
$wildcard
;
return
$this
;
}
public
function
getWildcard
(
)
{
return
$this
->
wildcard
;
}
public
function
getPhutilSpecification
(
)
{
$spec
=
array
(
'name'
=>
$this
->
getKey
(
)
,
)
;
if
(
$this
->
getWildcard
(
)
)
{
$spec
[
'wildcard'
]
=
true
;
}
$parameter
=
$this
->
getParameter
(
)
;
if
(
$parameter
!==
null
)
{
$spec
[
'param'
]
=
$parameter
;
}
return
$spec
;
}
public
function
setHelp
(
$help
)
{
$this
->
help
=
$help
;
return
$this
;
}
public
function
getHelp
(
)
{
return
$this
->
help
;
}
public
function
setParameter
(
$parameter
)
{
$this
->
parameter
=
$parameter
;
return
$this
;
}
public
function
getParameter
(
)
{
return
$this
->
parameter
;
}
public
function
setIsPathArgument
(
$is_path_argument
)
{
$this
->
isPathArgument
=
$is_path_argument
;
return
$this
;
}
public
function
getIsPathArgument
(
)
{
return
$this
->
isPathArgument
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jan 19, 19:17 (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1127885
Default Alt Text
ArcanistWorkflowArgument.php (1 KB)
Attached To
Mode
rARC Arcanist
Attached
Detach File
Event Timeline
Log In to Comment