MediaWiki
REL1_39
NonSerializableTrait.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\NonSerializable
;
4
5
use LogicException;
6
10
trait NonSerializableTrait {
11
16
public
function
__sleep() {
17
throw
new
LogicException(
'Instances of '
. get_class( $this ) .
' are not serializable!'
);
18
}
19
20
}
Wikimedia\NonSerializable
Definition
NonSerializableTrait.php:3
includes
libs
NonSerializableTrait.php
Generated on Tue Oct 8 2024 07:23:09 for MediaWiki by
1.10.0