File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Bekwoh \LaravelDbDoc \Contracts ;
4
4
5
- interface Presenter {
5
+ interface Presenter
6
+ {
6
7
public function getDisk ();
8
+
7
9
public function getFilename ();
10
+
8
11
public function getContents ();
12
+
9
13
public function getStub ();
14
+
10
15
public function write ();
16
+
11
17
public function read ();
12
- }
18
+ }
Original file line number Diff line number Diff line change 5
5
use Bekwoh \LaravelDbDoc \Contracts \Presenter ;
6
6
use Bekwoh \LaravelDbDoc \Facades \LaravelDbDoc ;
7
7
use Illuminate \Support \Facades \Storage ;
8
- use Illuminate \Support \Str ;
9
8
10
9
abstract class AbstractPresenter implements Presenter
11
10
{
@@ -17,12 +16,12 @@ public function __construct(protected array $contents)
17
16
18
17
public function getDisk ()
19
18
{
20
- return LaravelDbDoc::disk (strtolower (basename (__CLASS__ ));
19
+ return LaravelDbDoc::disk (strtolower (basename (__CLASS__ ))) ;
21
20
}
22
21
23
22
public function getFilename ()
24
23
{
25
- return LaravelDbDoc::filename (strtolower (basename (__CLASS__ ));
24
+ return LaravelDbDoc::filename (strtolower (basename (__CLASS__ ))) ;
26
25
}
27
26
28
27
public function getStub ()
You can’t perform that action at this time.
0 commit comments