Factory\AbstractFactory 
-
Namespace
Phalcon\Factory
-
Uses
Phalcon\Config\ConfigInterface
-
Extends
-
Implements
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.
Factory\Exception
-
Namespace
Phalcon\Factory
-
Uses
-
Extends
\Exception -
Implements
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.