Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F427025
PhabricatorApplicationTransactionNoEffectException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
910 B
Referenced Files
None
Subscribers
None
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
[]
=
pht
(
'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
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 3, 3:48 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
58424
Default Alt Text
PhabricatorApplicationTransactionNoEffectException.php (910 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment