Created
April 7, 2021 01:20
-
-
Save markrandall/6a72d54bda0b570cb3c062a0e3a9f28b to your computer and use it in GitHub Desktop.
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
class SuperSekrit { | |
public function __construct( | |
#[FetchScalarFromService(MyConfigService, 'login.user') | |
private string $user, | |
#[FetchScalarFromService(MyConfigService, 'login.password') | |
private string $password | |
) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment