Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92490420
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
Wed, Nov 20, 18:46
Size
577 B
Mime Type
text/x-php
Expires
Fri, Nov 22, 18:46 (2 d)
Engine
blob
Format
Raw Data
Handle
22449343
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
(
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
;
}
}
Event Timeline
Log In to Comment