Skip to content

Commit

Permalink
rename Genesis to System
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptouuuu committed Nov 17, 2024
1 parent e9b6582 commit 9c0cf53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions example/run.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require __DIR__.'/../vendor/autoload.php';

use Innmind\Witness\{
Genesis,
System,
Adapter\InMemory,
Actor,
Handles,
Expand Down Expand Up @@ -43,7 +43,7 @@ function($message, $sender, $continuation) {
}
}

Genesis::of(
System::of(
Factory::build(),
InMemory::new(),
)
Expand Down
2 changes: 1 addition & 1 deletion src/Genesis.php → src/System.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
SideEffect,
};

final class Genesis
final class System
{
/**
* @param Map<class-string<Actor>, callable(OperatingSystem, ?Message, Spawn): Actor> $factories
Expand Down

0 comments on commit 9c0cf53

Please sign in to comment.