PHP 클래스 App\Services\Filesystem\LaravelFilesystem

상속: implements App\Services\Filesystem\FilesystemInterface
파일 보기 프로젝트 열기: ngmy/webloyer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$fs

공개 메소드들

메소드 설명
__construct ( Illuminate\Filesystem\Filesystem $fs )
delete ( string $path ) : boolean Delete a file.
get ( string $path ) : string Read a file.
put ( string $path, string $contents ) : mixed Write a file.

메소드 상세

__construct() 공개 메소드

public __construct ( Illuminate\Filesystem\Filesystem $fs )
$fs Illuminate\Filesystem\Filesystem

delete() 공개 메소드

Delete a file.
public delete ( string $path ) : boolean
$path string File path
리턴 boolean

get() 공개 메소드

Read a file.
public get ( string $path ) : string
$path string File path
리턴 string Contents

put() 공개 메소드

Write a file.
public put ( string $path, string $contents ) : mixed
$path string File path
$contents string Contents to write a file
리턴 mixed

프로퍼티 상세

$fs 보호되어 있는 프로퍼티

protected $fs