Abstract Class Phalcon\Factory\AbstractFactory
Source on GitHub
Namespace |
Phalcon\Factory |
|
Uses |
Phalcon\Config, Phalcon\Config\ConfigInterface |
This file is part of the Phalcon Framework.
(c) Phalcon Team [email protected]
For the full copyright and license information, please view the LICENSE.txt file that was distributed with this source code.
Properties
/**
* @var array
*/
protected mapper;
/**
* @var array
*/
protected services;
Methods
protected function checkConfig( mixed $config ): array;
Checks the config if it is a valid object
abstract protected function getAdapters(): array;
Returns the adapters for the factory
protected function getService( string $name ): mixed;
Checks if a service exists and throws an exception
protected function init( array $services = [] ): void;
AdapterFactory constructor.
Class Phalcon\Factory\Exception
Source on GitHub
Namespace |
Phalcon\Factory |
|
Extends |
\Phalcon\Exception |
This file is part of the Phalcon Framework.
(c) Phalcon Team [email protected]
For the full copyright and license information, please view the LICENSE.txt file that was distributed with this source code.