Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F32914403
PhabricatorApplicationTransactionNoEffectException.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Size
910 B
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
Mon, Nov 17, 9:30 PM (59 m, 51 s)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
79/1a/0fd271092650a6edadebe0256c31
Attached To
rPHAB Phabricator
Event Timeline
Log In to Comment