src/Entities/Profile.php
public function getCounts()
    {
        return array(
            'habbo' => count($this->habbo),
            'badges' => count($this->badges),
            'friends' => count($this->friends),
            'groups' => count($this->groups),
            'rooms' => count($this->rooms),
        );
    }
public function getCounts()
    {
        return array(
            'habbo' => count($this->habbo),
            'badges' => count($this->badges),
            'friends' => count($this->friends),
            'groups' => count($this->groups),
            'rooms' => count($this->rooms),
        );
    }
public function getCounts ( ) { return array ( 'habbo' => count ( $ this -> habbo ) , 'badges' => count ( $ this -> badges ) , 'friends' => count ( $ this -> friends ) , 'groups' => count ( $ this -> groups ) , 'rooms' => count ( $ this -> rooms ) , ) ; }
getCounts is a small helper function to give you
an array of each entity in the profile and its count
@return array
getCounts is a small helper function to give you an array of each entity in the profile and its count