Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dc648e

Browse files
Merge branch '6.4' into 7.3
* 6.4: Replace __sleep/wakeup() by __(un)serialize() for throwing and internal usages
2 parents19961cd +6fc4c44 commit8dc648e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎Loader/Configurator/CollectionConfigurator.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ public function __construct(
3636
$this->route =newRoute('');
3737
}
3838

39-
publicfunction__sleep():array
39+
publicfunction__serialize():array
4040
{
4141
thrownew \BadMethodCallException('Cannot serialize'.__CLASS__);
4242
}
4343

44-
publicfunction__wakeup():void
44+
publicfunction__unserialize(array$data):void
4545
{
4646
thrownew \BadMethodCallException('Cannot unserialize'.__CLASS__);
4747
}

‎Loader/Configurator/ImportConfigurator.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ public function __construct(
2929
$this->route =$route;
3030
}
3131

32-
publicfunction__sleep():array
32+
publicfunction__serialize():array
3333
{
3434
thrownew \BadMethodCallException('Cannot serialize'.__CLASS__);
3535
}
3636

37-
publicfunction__wakeup():void
37+
publicfunction__unserialize(array$data):void
3838
{
3939
thrownew \BadMethodCallException('Cannot unserialize'.__CLASS__);
4040
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp