Add Player class.
Use Player class instead of passing league and PHP ID separately.