Skip to content

Instantly share code, notes, and snippets.

@adri
Created September 26, 2018 14:34
Show Gist options
  • Save adri/ac907b79e107ac63889d6e0c8b7f8cf1 to your computer and use it in GitHub Desktop.
Save adri/ac907b79e107ac63889d6e0c8b7f8cf1 to your computer and use it in GitHub Desktop.
Example usage of specifying an objects property.
<?php
$payout = Factory::create()->payout(function (PayoutContext $payout) {
$payout->payoutId = PayoutId::fromString('03f74472-0e31-4d5c-8f61-bf34bda2dcb2');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment