Factory\AbstractConfigFactory
AbstractSource on GitHubPhalcon\Factory\AbstractConfigFactory
Uses Phalcon\Config\ConfigInterface
Method Summary
protectedarraycheckConfig( mixed$config )Checks the config if it is a valid objectprotectedarraycheckConfigElement(array$config,string$element)Checks if the config has "adapter"protected\ExceptiongetException( string$message )Returns the exception object for the child classprotectedstringgetExceptionClass()Methods
Protected · 4
checkConfig()
protected function checkConfig( mixed $config ): array;Checks the config if it is a valid object
checkConfigElement()
protected function checkConfigElement(
array $config,
string $element
): array;Checks if the config has “adapter”
getException()
protected function getException( string $message ): \Exception;Returns the exception object for the child class
getExceptionClass()
protected function getExceptionClass(): string;Factory\AbstractFactory
AbstractSource on GitHubPhalcon\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\Queue\AdapterFactoryPhalcon\Storage\AdapterFactoryPhalcon\Storage\SerializerFactoryPhalcon\Support\HelperFactoryPhalcon\Translate\InterpolatorFactoryPhalcon\Translate\TranslateFactory
Uses Phalcon\Config\ConfigInterface
Method Summary
protectedmixedgetService( string$name )Checks if a service exists and throws an exceptionprotectedarraygetServices()Returns the adapters for the factoryprotectedvoidinit( array$services = [] )Initialize services/add new servicesProperties
protectedarray$mapper = []protectedarray$services = []Methods
Protected · 3
getService()
protected function getService( string $name ): mixed;Checks if a service exists and throws an exception
getServices()
abstract protected function getServices(): array;Returns the adapters for the factory
init()
protected function init( array $services = [] ): void;Initialize services/add new services
Factory\Exception
ClassSource on GitHub\ExceptionPhalcon\Factory\Exception