Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F85993205
PhabricatorEdgeCycleException.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, Oct 3, 12:38
Size
543 B
Mime Type
text/x-php
Expires
Sat, Oct 5, 12:38 (2 d)
Engine
blob
Format
Raw Data
Handle
21316519
Attached To
rPH Phabricator
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
(
"Graph cycle detected (type={$cycle_edge_type}, cycle={$cycle_list})."
);
}
public
function
getCycle
()
{
return
$this
->
cycle
;
}
public
function
getCycleEdgeType
()
{
return
$this
->
cycleEdgeType
;
}
}
Event Timeline
Log In to Comment