Phalcon factory
NOTE
All classes are prefixed with Phalcon
Factory\AbstractConfigFactory¶
Abstract Source on GitHub
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¶
Protected · 4
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
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¶
Protected · 3
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
\ExceptionPhalcon\Factory\Exception