1 | <?php |
||
7 | class TwitterFriends implements TwitterObject |
||
8 | { |
||
9 | /** |
||
10 | * @var int[] |
||
11 | */ |
||
12 | private $friends; |
||
13 | |||
14 | /** |
||
15 | * Constructor. |
||
16 | */ |
||
17 | 9 | public function __construct() |
|
20 | |||
21 | /** |
||
22 | * @return \int[] |
||
23 | */ |
||
24 | 9 | public function getFriends() |
|
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | 3 | public function __toString() |
|
36 | |||
37 | /** |
||
38 | * Static constructor. |
||
39 | * |
||
40 | * @param int[] $friends |
||
41 | * |
||
42 | * @return TwitterFriends |
||
43 | */ |
||
44 | 9 | public static function create(array $friends = []) |
|
52 | } |
||
53 |