src/Api/Game.php
public function earnedPlatinum() : bool
    {
        if (
            $this->trophyInfo() === null || 
            !isset($this->trophyInfo()->definedTrophies->platinum) || 
            !$this->trophyInfo()->definedTrophies->platinum
        ) {
            return false;
        }

        $user = $this->hasPlayed();

        return ($user === false) ? false : boolval($user->earnedTrophies->platinum);
    }
public function earnedPlatinum() : bool
    {
        if (
            $this->trophyInfo() === null || 
            !isset($this->trophyInfo()->definedTrophies->platinum) || 
            !$this->trophyInfo()->definedTrophies->platinum
        ) {
            return false;
        }

        $user = $this->hasPlayed();

        return ($user === false) ? false : boolval($user->earnedTrophies->platinum);
    }
public function earnedPlatinum ( ) : bool { if ( $ this -> trophyInfo ( ) === null || ! isset ( $ this -> trophyInfo ( ) -> definedTrophies -> platinum ) || ! $ this -> trophyInfo ( ) -> definedTrophies -> platinum ) { return false ; } $ user = $ this -> hasPlayed ( ) ; return ( $ user === false ) ? false : boolval ( $ user -> earnedTrophies -> platinum ) ; }
Checks if the User has earned the platinum trophy.

@return boolean
Checks if the User has earned the platinum trophy .