PHP Interface App\Services\Filesystem\FilesystemInterface

Afficher le fichier Open project: ngmy/webloyer

Méthodes publiques

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

Method Details

get() public méthode

Read a file.
public get ( string $path ) : string
$path string File path
Résultat string Contents

put() public méthode

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