1 | <?php |
||
14 | class PromotedTweet extends Analytics |
||
15 | { |
||
16 | const RESOURCE_COLLECTION = 'accounts/{account_id}/promoted_tweets'; |
||
17 | const RESOURCE = 'accounts/{account_id}/promoted_tweets/{id}'; |
||
18 | const RESOURCE_STATS = 'stats/accounts/{account_id}/promoted_tweets/{id}'; |
||
19 | |||
20 | const ENTITY = 'PROMOTED_TWEET'; |
||
21 | |||
22 | /** Read Only */ |
||
23 | protected $id; |
||
24 | protected $approval_status; |
||
25 | protected $created_at; |
||
26 | protected $updated_at; |
||
27 | protected $deleted; |
||
28 | |||
29 | protected $properties = [ |
||
30 | PromotedTweetFields::LINE_ITEM_ID, |
||
31 | PromotedTweetFields::TWEET_ID, |
||
32 | PromotedTweetFields::PAUSED, |
||
33 | ]; |
||
34 | |||
35 | /** Writable */ |
||
36 | protected $line_item_id; |
||
37 | protected $tweet_id; |
||
38 | protected $paused; |
||
39 | |||
40 | /** |
||
41 | * @param $metricGroups |
||
42 | * @param array $params |
||
43 | * @param bool $async |
||
44 | * @return mixed |
||
45 | */ |
||
46 | public function stats($metricGroups, $params = [], $async = false) |
||
51 | |||
52 | /** |
||
53 | * Saves or updates the current object instance depending on the |
||
54 | * presence of `object->getId()`. |
||
55 | */ |
||
56 | public function save() |
||
77 | |||
78 | /** |
||
79 | * @return mixed |
||
80 | */ |
||
81 | public function getId() |
||
85 | |||
86 | /** |
||
87 | * @return mixed |
||
88 | */ |
||
89 | public function getApprovalStatus() |
||
93 | |||
94 | /** |
||
95 | * @return mixed |
||
96 | */ |
||
97 | public function getCreatedAt() |
||
101 | |||
102 | /** |
||
103 | * @return mixed |
||
104 | */ |
||
105 | public function getUpdatedAt() |
||
109 | |||
110 | /** |
||
111 | * @return mixed |
||
112 | */ |
||
113 | public function getDeleted() |
||
117 | |||
118 | /** |
||
119 | * @return array |
||
120 | */ |
||
121 | public function getProperties() |
||
125 | |||
126 | /** |
||
127 | * @return mixed |
||
128 | */ |
||
129 | public function getLineItemId() |
||
133 | |||
134 | /** |
||
135 | * @return mixed |
||
136 | */ |
||
137 | public function getTweetId() |
||
141 | |||
142 | /** |
||
143 | * @return mixed |
||
144 | */ |
||
145 | public function getPaused() |
||
149 | |||
150 | /** |
||
151 | * @param array $properties |
||
152 | */ |
||
153 | public function setProperties($properties) |
||
157 | |||
158 | /** |
||
159 | * @param mixed $line_item_id |
||
160 | */ |
||
161 | public function setLineItemId($line_item_id) |
||
165 | |||
166 | /** |
||
167 | * @param mixed $tweet_id |
||
168 | */ |
||
169 | public function setTweetId($tweet_id) |
||
173 | |||
174 | /** |
||
175 | * @param mixed $paused |
||
176 | */ |
||
177 | public function setPaused($paused) |
||
181 | } |
||
182 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.