Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122066635
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
Tue, Jul 15, 14:01
Size
543 B
Mime Type
text/x-php
Expires
Thu, Jul 17, 14:01 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27429766
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