class FileManager

Class FileManager is used to manage retrieving and modifying Devise config(s) files along with any other management functions

Methods

__construct(Filesystem $Filesystem, Framework $Framework)

No description

array
getAppOnly($dotPath)

Retrives only the config array from the app's file. exclude's the package's config

string
saveToFile(string $content, string $filename)

Retrives and writes/saves supplied content to specified config file

Details

at line 18
__construct(Filesystem $Filesystem, Framework $Framework)

Parameters

Filesystem $Filesystem
Framework $Framework

at line 30
array getAppOnly($dotPath)

Retrives only the config array from the app's file. exclude's the package's config

Parameters

$dotPath

Return Value

array

at line 47
string saveToFile(string $content, string $filename)

Retrives and writes/saves supplied content to specified config file

Parameters

string $content
string $filename

Return Value

string | boolean