Phalcon factory
NOTE
All classes are prefixed with Phalcon
Factory\AbstractConfigFactory¶
Abstract Source on GitHub
This file is part of the Phalcon Framework.
(c) Phalcon Team team@phalcon.io
For the full copyright and license information, please view the LICENSE.txt file that was distributed with this source code.
Phalcon\Factory\AbstractConfigFactory
Uses Phalcon\Config\ConfigInterface
Method Summary¶
protected array checkConfig( mixed $config ) Checks the config if it is a valid object protected array checkConfigElement(array $config,string $element) Checks if the config has "adapter" protected \Exception getException( string $message ) Returns the exception object for the child class protected string getExceptionClass() Methods¶
checkConfig()¶
Checks the config if it is a valid object
checkConfigElement()¶
Checks if the config has "adapter"
getException()¶
Returns the exception object for the child class
getExceptionClass()¶
Factory\AbstractFactory¶
Abstract Source on GitHub
This file is part of the Phalcon Framework.
(c) Phalcon Team team@phalcon.io
For the full copyright and license information, please view the LICENSE.txt file that was distributed with this source code.
Phalcon\Factory\AbstractConfigFactoryPhalcon\Factory\AbstractFactoryPhalcon\Annotations\AnnotationsFactoryPhalcon\Cache\AdapterFactoryPhalcon\Config\ConfigFactoryPhalcon\Db\Adapter\PdoFactoryPhalcon\Encryption\Crypt\PadFactoryPhalcon\Filter\Validation\ValidatorFactoryPhalcon\Image\ImageFactoryPhalcon\Logger\AdapterFactoryPhalcon\Paginator\PaginatorFactoryPhalcon\Storage\AdapterFactoryPhalcon\Storage\SerializerFactoryPhalcon\Support\HelperFactoryPhalcon\Translate\InterpolatorFactoryPhalcon\Translate\TranslateFactory
Uses Phalcon\Config\ConfigInterface
Method Summary¶
protected mixed getService( string $name ) Checks if a service exists and throws an exception protected array getServices() Returns the adapters for the factory protected void init( array $services = [] ) Initialize services/add new services Properties¶
protected array $mapper = [] protected array $services = [] Methods¶
getService()¶
Checks if a service exists and throws an exception
getServices()¶
Returns the adapters for the factory
init()¶
Initialize services/add new services
Factory\Exception¶
Class Source on GitHub
This file is part of the Phalcon Framework.
(c) Phalcon Team team@phalcon.io
For the full copyright and license information, please view the LICENSE.txt file that was distributed with this source code.
\ExceptionPhalcon\Factory\Exception