public function getClassesEquipped() {
        $classesEquipped = [];
        foreach($this->equipped as $classId => $equipped) {
            if($equipped) {
                $classesEquipped[] = $classId;
            }
        }

        return $classesEquipped;
    }
public function getClassesEquipped() {
        $classesEquipped = [];
        foreach($this->equipped as $classId => $equipped) {
            if($equipped) {
                $classesEquipped[] = $classId;
            }
        }

        return $classesEquipped;
    }
public function getClassesEquipped ( ) { $ classesEquipped = [ ] ; foreach ( $ this -> equipped as $ classId => $ equipped ) { if ( $ equipped ) { $ classesEquipped [ ] = $ classId ; } } return $ classesEquipped ; }
Returns the class symbols for each class this player has equipped this
item

@return array The names of the classes this player has equipped this
item
Returns the class symbols for each class this player has equipped this item