extends class Phalcon\Config
implements Countable, ArrayAccess
Source on GitHub
Reads php files and converts them to Phalcon\Config objects. Given the next configuration file:
<?php
return array(
'database' => array(
'adapter' => 'Mysql',
'host' => 'localhost',
'username' => 'scott',
'password' => 'cheetah',
'dbname' => 'test_db'
),
'phalcon' => array(
'controllersDir' => '../app/controllers/',
'modelsDir' =&g