MediaWiki REL1_39
NonSerializableTrait.php
Go to the documentation of this file.
1<?php
2
4
5use LogicException;
6
10trait NonSerializableTrait {
11
16 public function __sleep() {
17 throw new LogicException( 'Instances of ' . get_class( $this ) . ' are not serializable!' );
18 }
19
20}