22declare(strict_types=1);
 
   29    final public function __serialize() : array{
 
   30        throw new \LogicException(
"Serialization of " . static::class . 
" objects is not allowed");
 
   34    final public function __unserialize(array $data) : void{
 
   35        throw new \LogicException(
"Unserialization of " . static::class . 
" objects is not allowed");