PHP Class Phalcon\Config\Adapter\Xml
Reads xml files and converts them to Phalcon\Config objects.
Given the next configuration file:
/phalcon/
memory
here
You can read it as follows:
use Phalcon\Config\Adapter\Xml;
$config = new Xml("path/config.xml");
echo $config->phalcon->baseuri;
echo $config->nested->config->parameter;
Show file
Open project: phalcon/incubator
Class Usage Examples
Public Methods
Method |
Description |
|
__construct ( string $filePath ) |
Phalcon\Config\Adapter\Xml constructor |
|
Method Details
__construct()
public method
Phalcon\Config\Adapter\Xml constructor