Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F426992
PhabricatorEdgeCycleException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
577 B
Referenced Files
None
Subscribers
None
PhabricatorEdgeCycleException.php
View Options
<?php
final
class
PhabricatorEdgeCycleException
extends
Exception
{
private
$cycleEdgeType
;
private
$cycle
;
public
function
__construct
(
$cycle_edge_type
,
array
$cycle
)
{
$this
->
cycleEdgeType
=
$cycle_edge_type
;
$this
->
cycle
=
$cycle
;
$cycle_list
=
implode
(
', '
,
$cycle
);
parent
::
__construct
(
pht
(
'Graph cycle detected (type=%s, cycle=%s).'
,
$cycle_edge_type
,
$cycle_list
));
}
public
function
getCycle
()
{
return
$this
->
cycle
;
}
public
function
getCycleEdgeType
()
{
return
$this
->
cycleEdgeType
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 3, 3:46 AM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
58687
Default Alt Text
PhabricatorEdgeCycleException.php (577 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment