FileLoader

FileLoader class FileLoader implements LoaderInterface (View source) Methods void __construct(Filesystem $files, string $defaultPath) Create a new file configuration loader. array load(string $environment, string $group, string $namespace = null) Load the given configuration group. bool exists(string $group, string $namespace = null) Determine if the given group exists. array cascadePackage(string $env, string $package, string $group, array $items) Apply any cascades to an

FileLoader

FileLoader class FileLoader implements LoaderInterface (View source) Methods void __construct(Filesystem $files, string $path) Create a new file loader instance. array load(string $locale, string $group, string $namespace = null) Load the messages for the given locale. void addNamespace(string $namespace, string $hint) Add a new namespace to the loader.

FileHelpers::path()

string path() Get the fully qualified path to the file. Return Value string

FileHelpers::hashName()

string hashName(string $path = null) Get a filename for the file that is the MD5 hash of the contents. Parameters string $path Return Value string

FileHelpers::extension()

string extension() Get the file's extension. Return Value string

FileHelpers::clientExtension()

string clientExtension() Get the file's extension supplied by the client. Return Value string

FileHelpers

FileHelpers trait FileHelpers (View source) Methods string path() Get the fully qualified path to the file. string extension() Get the file's extension. string clientExtension() Get the file's extension supplied by the client. string hashName(string $path = null) Get a filename for the file that is the MD5 hash of the contents.

FileEnvironmentVariablesLoader::__construct()

void __construct(Filesystem $files, string $path = null) Create a new file environment loader instance. Parameters Filesystem $files string $path Return Value void

FileEnvironmentVariablesLoader::load()

array load(string $environment = null) Load the environment variables for the given environment. Parameters string $environment Return Value array

FileEnvironmentVariablesLoader

FileEnvironmentVariablesLoader class FileEnvironmentVariablesLoader implements EnvironmentVariablesLoaderInterface (View source) Methods void __construct(Filesystem $files, string $path = null) Create a new file environment loader instance. array load(string $environment = null) Load the environment variables for the given environment.