Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122400218
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, Jul 17, 16:39
Size
543 B
Mime Type
text/x-php
Expires
Sat, Jul 19, 16:39 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27479886
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