Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F116620760
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
Sun, Jun 8, 00:19
Size
577 B
Mime Type
text/x-php
Expires
Tue, Jun 10, 00:19 (2 d)
Engine
blob
Format
Raw Data
Handle
26579248
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