Created
June 12, 2021 22:17
-
-
Save morrislaptop/3b4f7d701e3c05e38a48ed2349b4fc13 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
dispatch(function () use ($uuid) { | |
PostAggregateRoot::retrieve($uuid) | |
->publish() | |
->persist(); | |
})->delay($request->publish_date); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment