Config
class Config (View source)
Properties
protected Collection | $data |
Methods
__construct(string $locales, string $defaultLocale, Stopwatch $stopwatch, string $projectDir, CacheInterface $cache, string $publicFolder, ClearCacheController $clearCacheController, KernelInterface $kernel)
No description
get(string $path, $default = null)
Get a config value, using a path.
bool
has(string $path)
No description
string
getPath(string $path, bool $absolute = true, $additional = null)
No description
Collection
getPaths()
No description
Collection
getMediaTypes()
No description
Collection|null
getContentType(string $name)
No description
Collection|null
getTaxonomy(string $name)
No description
Collection
getFileTypes()
No description
int
getMaxUpload()
No description
Details
__construct(string $locales, string $defaultLocale, Stopwatch $stopwatch, string $projectDir, CacheInterface $cache, string $publicFolder, ClearCacheController $clearCacheController, KernelInterface $kernel)
get(string $path, $default = null)
Get a config value, using a path.
For example: $var = $config->get('general/wysiwyg/ck/contentsCss');