a SENSIOLABS Product
Symfony

Dependency Injection
Reinventing how you manage
PHP classes

Appendix D - The INI Format

RELEASE INFORMATION

You are currently browsing the documentation for the trunk version.

This appendix describes the INI format used to describe parameters.

The INI format is only able to describe parameters. You cannot define imports, nor can you import other resources from an INI file.

As for the XML and YAML format, the INI format supports placeholders.

Parameters

Only the [parameters] section of an INI file is parsed:

[parameters]
  foo = bar
  bar = %foo%

The file can only define simple key/value pairs. The same parsing rules as the ones for the PHP built-in parse_ini_file() function apply.

powered by symfony - "symfony" is a trademark of Fabien Potencier, all rights reserved - The components "animals" are © 2009 Sensio Labs

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.