-
-
Save tarlepp/5af2849e7243f189264cb5be999540f3 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 Foo | |
{ | |
public function __construct(private UserGroupResource $userGroupResource, private RoleRepository $roleRepository) | |
{ | |
} |
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 | |
class Foo | |
{ | |
private UserGroupResource $userGroupResource; | |
private RoleRepository $roleRepository; | |
public function __construct(UserGroupResource $userGroupResource, RoleRepository $roleRepository) | |
{ | |
$this->userGroupResource = $userGroupResource; | |
$this->roleRepository = $roleRepository; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment