-
-
Save tsh-code/48bd4e356e4e4a7617fef042bd450269 to your computer and use it in GitHub Desktop.
Result Object Usage
This file contains 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 | |
$operation = File::openForRead(join(DIRECTORY_SEPARATOR, [__DIR__, 'credit_cards.txt'])); | |
if ($operation->isSuccessful) { | |
return CreditCardNumberExtractor::createFromHandler($operation->payload); | |
} | |
/* ... */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment