Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98895692
PhabricatorApplicationTransactionNoEffectException.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
Fri, Jan 17, 07:24
Size
905 B
Mime Type
text/x-php
Expires
Sun, Jan 19, 07:24 (2 d)
Engine
blob
Format
Raw Data
Handle
23622678
Attached To
rPH Phabricator
PhabricatorApplicationTransactionNoEffectException.php
View Options
<?php
final
class
PhabricatorApplicationTransactionNoEffectException
extends
Exception
{
private
$transactions
;
private
$anyEffect
;
private
$hasComment
;
public
function
__construct
(
array
$transactions
,
$any_effect
,
$has_comment
)
{
assert_instances_of
(
$transactions
,
'PhabricatorApplicationTransaction'
);
$this
->
transactions
=
$transactions
;
$this
->
anyEffect
=
$any_effect
;
$this
->
hasComment
=
$has_comment
;
$message
=
array
();
$message
[]
=
'Transactions have no effect:'
;
foreach
(
$this
->
transactions
as
$transaction
)
{
$message
[]
=
' - '
.
$transaction
->
getNoEffectDescription
();
}
parent
::
__construct
(
implode
(
"
\n
"
,
$message
));
}
public
function
getTransactions
()
{
return
$this
->
transactions
;
}
public
function
hasAnyEffect
()
{
return
$this
->
anyEffect
;
}
public
function
hasComment
()
{
return
$this
->
hasComment
;
}
}
Event Timeline
Log In to Comment