| @@ 105-112 (lines=8) @@ | ||
| 102 | * @param null $action |
|
| 103 | * @param null $success |
|
| 104 | */ |
|
| 105 | public function setNotificationForService($service = null, $action = null, $success = null) |
|
| 106 | { |
|
| 107 | if (empty($success) === true) { |
|
| 108 | return '- ' . ucfirst($service) . ': cannot ' . $action . ' [' . $this->$service->getLastMessage() . ']' . "\r\n"; |
|
| 109 | } |
|
| 110 | ||
| 111 | return '- ' . ucfirst($service) . ': ' . $action . "\r\n"; |
|
| 112 | } |
|
| 113 | ||
| 114 | /** |
|
| 115 | * @param $description |
|
| @@ 106-113 (lines=8) @@ | ||
| 103 | * @param null $action |
|
| 104 | * @param null $success |
|
| 105 | */ |
|
| 106 | public function setNotificationForService($service = null, $action = null, $success = null) |
|
| 107 | { |
|
| 108 | if (empty($success) === true) { |
|
| 109 | return '- ' . ucfirst($service) . ': cannot ' . $action . ' [' . $this->$service->getLastMessage() . ']' . "\r\n"; |
|
| 110 | } |
|
| 111 | ||
| 112 | return '- ' . ucfirst($service) . ': ' . $action . "\r\n"; |
|
| 113 | } |
|
| 114 | ||
| 115 | /** |
|
| 116 | * @return mixed |
|