File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 33namespace Helldar \PrettyArray \Services ;
44
55use Helldar \PrettyArray \Exceptions \FileDoesntExistsException ;
6+ use Helldar \Support \Concerns \Makeable ;
67use Helldar \Support \Facades \Helpers \Filesystem \File as FileSupport ;
78use Helldar \Support \Facades \Tools \Stub ;
89use Helldar \Support \Tools \Stub as StubTool ;
910
11+ /**
12+ * @method static \Helldar\PrettyArray\Services\File make(string $content = null)
13+ */
1014class File
1115{
16+ use Makeable;
17+
1218 protected $ content ;
1319
1420 public function __construct (string $ content = null )
1521 {
1622 $ this ->content = $ content ;
1723 }
1824
19- public static function make (string $ content = null )
20- {
21- return new static ($ content );
22- }
23-
2425 /**
2526 * @param string $filename
2627 *
You can’t perform that action at this time.
0 commit comments