@@ -32,6 +32,9 @@ |
||
| 32 | 32 | $this->setRange($data); |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $fileName |
|
| 37 | + */ |
|
| 35 | 38 | public function export($fileName) |
| 36 | 39 | { |
| 37 | 40 | return $this->download($fileName); |
@@ -20,6 +20,9 @@ |
||
| 20 | 20 | $this->setModel($model); |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @param string $filepath |
|
| 25 | + */ |
|
| 23 | 26 | public function importFromFile($filepath) |
| 24 | 27 | { |
| 25 | 28 | return $this->import($filepath); |