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 Mon Dec 16 2024 06:35:30 for MediaWiki by
1.10.0