logo
  • العَرَبِيَّة‎‎ Bosanski Български Рrvatski Čeština English Français Deutsch Ελληνικά Magyar Indonesian 日本語 Polski Português Русский Español Türkçe Українська Tiếng Việt 中文
  • Version 3.3
    3.1 3.2 3.3
  • Community
    Forum Blog Resources
    Facebook Twitter Google+ Gab.ai
  • About
  • Blog
  • Support Us
  • Download
  • العَرَبِيَّة‎‎
  • Bosanski
  • Български
  • Рrvatski
  • Čeština
  • English
  • Français
  • Deutsch
  • Ελληνικά
  • Magyar
  • Indonesian
  • 日本語
  • Polski
  • Português
  • Русский
  • Español
  • Türkçe
  • Українська
  • Tiếng Việt
  • 中文
Version 3.3
  • 3.1
  • 3.2
  • 3.3
Community
  • Forum
  • Blog
  • Resources
  • Facebook
  • Twitter
  • Google+
  • Gab.ai
About
Blog
Support Us
Download
GitHub Project
 
Edit on GitHub

Class Phalcon\Config\Factory

extends abstract class Phalcon\Factory

implements Phalcon\FactoryInterface

Source on GitHub

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
  • Introduction
  • Release Notes
  • Sponsors
  • FAQ
Contributions
  • Overview
  • Pull Requests
  • NFR
  • Backtrace Generation
  • Reproducible Tests
  • Testing guide
Getting Started
  • Installation
  • Webserver Setup
  • WAMP
  • XAMPP
Tutorials
  • Basic
  • REST
  • Vokuro
  • Performance
  • Invo
Environments
  • Phalcon Compose (Docker)
  • Nanobox
  • Phalcon Box (Vagrant)
Development Tools
  • Installation
  • Usage
  • Debug
Core
  • API Index
  • Application
  • Full
  • Micro
  • Cli
  • DI Container
  • MVC
Services
  • Cache
  • Config
  • Escaper
  • Loader
  • Namespaces
  • Logging
  • Adapters
  • Queue
Database
  • Layer
  • PHQL
  • ODM
  • Models
  • Behaviors
  • Cache
  • Events
  • Metadata
  • Relationships
  • Transactions
  • Validators
  • Migrations
  • Pagination
Front End
  • Assets
  • Flash Messenger
  • Forms
  • Image
  • Tag
  • View
  • Volt
Business Logic
  • Access Control Lists
  • Annotations
  • Controllers
  • Dispatcher
  • Event Manager
  • Filters
  • Routing
  • Sessions
  • Url
  • Validation
HTTP
  • Cookies
  • Request
  • Response
Security
  • Crypto
  • Security
i18n
  • Internationalization
  • Translate
Explore All Topics
logo About Blog Support Us Download License New BSD
Development by logo o2