PHP Interface App\Services\Filesystem\FilesystemInterface

Datei anzeigen Open project: ngmy/webloyer

Public Methods

Method Description
get ( string $path ) : string Read a file.
put ( string $path, string $contents ) : mixed Write a file.

Method Details

get() public method

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

put() public method

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