47 foreach (static::getMessages() as $message)
49 if (!($message instanceof
iAds))
68 foreach (static::getMessages() as $message)
89 foreach (static::getMessages() as $message)
91 if (!($message instanceof
iToloka))
110 foreach (static::getMessages() as $message)
112 if (!$message instanceof
iYandex)
116 if (!$withToloka && $message instanceof
iToloka)
135 foreach (static::getMessages() as $message)
156 foreach (static::getMessages() as $message)
174 public static function getAdsMessageCodes()
177 function ($message) {
179 return $message->getCode();
181 static::getAdsMessages()
190 public static function getMarketingMessageCodes()
193 function ($message) {
195 return $message->getCode();
197 static::getMarketingMessages()
206 public static function getMailingMessageCodes()
209 function ($message) {
211 return $message->getCode();
213 static::getMailingMessages()
222 public static function getTolokaMessageCodes()
225 function ($message) {
227 return $message->getCode();
229 static::getTolokaMessages()
238 public static function getReturnCustomerMessageCodes()
241 function ($message) {
243 return $message->getCode();
245 static::getReturnCustomerMessages()
256 return static::getObjectInstances(static::getInterface());
268 return static::getObjectInstance(static::getInterface(), $code);