프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$contents | string | The contens will be used. | |
$filesystem | Illuminate\Filesystem\Filesystem | null | The laravel filesystem or null. | |
$path | string | The path wil be used. |
메소드 | 설명 | |
---|---|---|
__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 | ||
리턴 | Illuminate\Filesystem\Filesystem | null |