src/Factory/LinkFactory.php 1 location
|
@@ 77-84 (lines=8) @@
|
| 74 |
|
/** |
| 75 |
|
* @inheritDoc |
| 76 |
|
*/ |
| 77 |
|
public function unserialize($serialized) |
| 78 |
|
{ |
| 79 |
|
parent::unserialize($serialized); |
| 80 |
|
|
| 81 |
|
if ($this->parameters['displayRule'] instanceof SerializableClosure) { |
| 82 |
|
$this->parameters['displayRule'] = $this->parameters['displayRule']->getClosure(); |
| 83 |
|
} |
| 84 |
|
} |
| 85 |
|
} |
src/Factory/TextFactory.php 1 location
|
@@ 65-72 (lines=8) @@
|
| 62 |
|
/** |
| 63 |
|
* @inheritDoc |
| 64 |
|
*/ |
| 65 |
|
public function unserialize($serialized) |
| 66 |
|
{ |
| 67 |
|
parent::unserialize($serialized); |
| 68 |
|
|
| 69 |
|
if ($this->parameters['displayRule'] instanceof SerializableClosure) { |
| 70 |
|
$this->parameters['displayRule'] = $this->parameters['displayRule']->getClosure(); |
| 71 |
|
} |
| 72 |
|
} |
| 73 |
|
} |