@@ -204,6 +204,9 @@ |
||
| 204 | 204 | return $this->returnText(Constants::$operation_succeded); |
| 205 | 205 | } |
| 206 | 206 | |
| 207 | + /** |
|
| 208 | + * @param string $text |
|
| 209 | + */ |
|
| 207 | 210 | private function returnText($text) |
| 208 | 211 | { |
| 209 | 212 | // TODO: Really dirty hack to force key => value format for outputs via fractal serializer |
@@ -36,6 +36,9 @@ |
||
| 36 | 36 | return $this->belongsTo(TransactionType::class); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | + /** |
|
| 40 | + * @param string $filePath |
|
| 41 | + */ |
|
| 39 | 42 | public function addAttachment($filePath, $preventOriginal = false) |
| 40 | 43 | { |
| 41 | 44 | $fileName = basename($filePath); |