Skip to content

Files

Latest commit

Jan 10, 2014
4f02a8a · Jan 10, 2014

History

History
37 lines (26 loc) · 1.06 KB

introduction.rst

File metadata and controls

37 lines (26 loc) · 1.06 KB
.. index::
   single: Config
   single: Components; Config

The Config Component

Introduction

The Config component provides several classes to help you find, load, combine, autofill and validate configuration values of any kind, whatever their source may be (YAML, XML, INI files, or for instance a database).

Caution!

The IniFileLoader parses the file contents using the :phpfunction:`parse_ini_file` function, therefore, you can only set parameters to string values. To set parameters to other data types (e.g. boolean, integer, etc), the other loaders are recommended.

Installation

You can install the component in 2 different ways:

Sections