Created
November 2, 2021 07:39
-
-
Save juanwilde/e08eb744545a45d15586f04b744d4e0c 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
public function __invoke(User $user): void | |
{ | |
if (!$user instanceof UserInterface) { | |
return; | |
} | |
// some great stuff here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment