@@ -69,6 +69,9 @@ |
||
| 69 | 69 | return $this; |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param string $filename |
|
| 74 | + */ |
|
| 72 | 75 | protected function storeFile($filepath, $filename, $width = null, $height = null, $x = null, $y = null, $rotate = null, $rotateBackgroundColor = null) |
| 73 | 76 | { |
| 74 | 77 | $image = InterventionImage::make($filepath); |
@@ -11,6 +11,9 @@ discard block |
||
| 11 | 11 | protected $path = ''; |
| 12 | 12 | protected $multiple = false; |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param string $filename |
|
| 16 | + */ |
|
| 14 | 17 | protected function storeFile(UploadedFile $file, $filename, Request $request) |
| 15 | 18 | { |
| 16 | 19 | $path = $file->storeAs($this->getPath(), $filename, [ |
@@ -39,6 +42,9 @@ discard block |
||
| 39 | 42 | return $this; |
| 40 | 43 | } |
| 41 | 44 | |
| 45 | + /** |
|
| 46 | + * @return string |
|
| 47 | + */ |
|
| 42 | 48 | public function getDisk() |
| 43 | 49 | { |
| 44 | 50 | return $this->disk; |
@@ -51,6 +57,9 @@ discard block |
||
| 51 | 57 | return $this; |
| 52 | 58 | } |
| 53 | 59 | |
| 60 | + /** |
|
| 61 | + * @return string |
|
| 62 | + */ |
|
| 54 | 63 | public function getPath() |
| 55 | 64 | { |
| 56 | 65 | return $this->path; |
@@ -6,6 +6,9 @@ |
||
| 6 | 6 | { |
| 7 | 7 | protected $tooltip; |
| 8 | 8 | |
| 9 | + /** |
|
| 10 | + * @param string $message |
|
| 11 | + */ |
|
| 9 | 12 | public function tooltip($message) |
| 10 | 13 | { |
| 11 | 14 | $this->tooltip = $message; |