Repository
class Repository extends Repository (View source)
Properties
protected SaverInterface | $saver | ||
protected LoaderInterface | $loader |
Methods
__construct(LoaderInterface $loader, SaverInterface $saver, $environment)
Create a new configuration repository.
clear(string $key)
Clear specific key.
bool
save($key, $value)
Save a key.
package(string $package, string $hint = null, string $namespace = null)
Register a package for cascading configuration.
getPackageNamespace($package, $namespace)
No description
clearCache()
No description
clearNamespace($namespace)
No description
getSaver()
No description
parsePackageSegments($key, $namespace, $item)
No description
Details
__construct(LoaderInterface $loader, SaverInterface $saver, $environment)
Create a new configuration repository.
clear(string $key)
Clear specific key.
bool
save($key, $value)
Save a key.
package(string $package, string $hint = null, string $namespace = null)
Register a package for cascading configuration.
protected
getPackageNamespace($package, $namespace)
No description
clearCache()
No description
clearNamespace($namespace)
No description
SaverInterface
getSaver()
No description
setSaver(SaverInterface $saver)
Set the saver instance.
protected
parsePackageSegments($key, $namespace, $item)
No description