We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fda33c commit a1e2f3dCopy full SHA for a1e2f3d
1 file changed
src/Services/File.php
@@ -3,24 +3,25 @@
3
namespace Helldar\PrettyArray\Services;
4
5
use Helldar\PrettyArray\Exceptions\FileDoesntExistsException;
6
+use Helldar\Support\Concerns\Makeable;
7
use Helldar\Support\Facades\Helpers\Filesystem\File as FileSupport;
8
use Helldar\Support\Facades\Tools\Stub;
9
use Helldar\Support\Tools\Stub as StubTool;
10
11
+/**
12
+ * @method static \Helldar\PrettyArray\Services\File make(string $content = null)
13
+ */
14
class File
15
{
16
+ use Makeable;
17
+
18
protected $content;
19
20
public function __construct(string $content = null)
21
22
$this->content = $content;
23
}
24
- public static function make(string $content = null)
- {
- return new static($content);
- }
-
25
/**
26
* @param string $filename
27
*
0 commit comments