Class Phalcon\Config\Factory
extends abstract class Phalcon\Factory
implements Phalcon\FactoryInterface
Loads Config Adapter class using 'adapter' option, if no extension is provided it will be added to filePath
<?php
use Phalcon\Config\Factory;
$options = [
"filePath" => "path/config",
"adapter" => "php",
];
$config = Factory::load($options);
Methods
public static load (Phalcon\Config | array $config)
protected static loadClass (mixed $namespace, mixed $config)
...
General
Contributions
Getting Started
Tutorials
Environments
Development Tools
Database
Business Logic