Class Phalcon\Cache\Backend\Factory
extends abstract class Phalcon\Factory
implements Phalcon\FactoryInterface
Loads Backend Cache Adapter class using 'adapter' option, if frontend will be provided as array it will call Frontend Cache Factory
<?php
use Phalcon\Cache\Backend\Factory;
use Phalcon\Cache\Frontend\Data;
$options = [
"prefix" => "app-data",
"frontend" => new Data(),
"adapter" => "apc",
];
$backendCache = Factory::load($options);
Methods
public static load (Phalcon\Config | array $config)
protected static loadClass (mixed $namespace, mixed $config)
...
General
Contributions
Getting Started
Tutorials
Environments
Development Tools
Database
Business Logic