Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function config(): array |
||
22 | { |
||
23 | return [ |
||
24 | 'class' => Account::class, |
||
25 | 'envelope' => 'entry_data.ProfilePage.0.graphql.user', |
||
26 | 'properties' => [ |
||
27 | 'biography' => 'biography', |
||
28 | 'externalUrl' => 'external_url', |
||
29 | 'followedBy' => 'edge_followed_by.count', |
||
30 | 'follows' => 'edge_follow.count', |
||
31 | 'fullName' => 'full_name', |
||
32 | 'id' => 'id', |
||
33 | 'isPrivate' => 'is_private', |
||
34 | 'profilePicUrl' => 'profile_pic_url_hd', |
||
35 | 'username' => 'username', |
||
36 | 'media' => 'edge_owner_to_timeline_media.count', |
||
37 | 'isVerified' => 'is_verified', |
||
38 | 'isBusiness' => 'is_business_account', |
||
39 | 'businessCategory' => 'business_category_name', |
||
40 | ], |
||
43 | } |