Property | Type | Description | |
---|---|---|---|
$contents | string | The contens will be used. | |
$filesystem | Illuminate\Filesystem\Filesystem | null | The laravel filesystem or null. | |
$path | string | The path wil be used. |
Method | Description | |
---|---|---|
__construct ( $path, $contents, null $filesystem = null ) | The constructor. | |
generate ( ) | Generate the file. | |
getContents ( ) : mixed | Get contents. | |
getFilesystem ( ) : mixed | Get filesystem. | |
getPath ( ) : mixed | Get path. | |
setContents ( mixed $contents ) | Set contents. | |
setFilesystem ( Illuminate\Filesystem\Filesystem $filesystem ) | Set filesystem. | |
setPath ( mixed $path ) | Set path. |
public __construct ( $path, $contents, null $filesystem = null ) | ||
$path | ||
$contents | ||
$filesystem | null |
public setFilesystem ( Illuminate\Filesystem\Filesystem $filesystem ) | ||
$filesystem | Illuminate\Filesystem\Filesystem |
protected Filesystem,Illuminate\Filesystem|null $filesystem | ||
return | Illuminate\Filesystem\Filesystem | null |