public function AuthcacheP13nObjectFactory::__construct in Authenticated User Page Caching (Authcache) 7.2
Construct new instance and populate it with the given resources.
Parameters
array $resources: Resource definitions (the blueprint).
array $processors: (Optional) A mapping of resource processor names to PHP functions.
File
- modules/
authcache_p13n/ includes/ AuthcacheP13nObjectFactory.inc, line 124 - Defines the class AuthcacheP13nObjectFactory.
Class
- AuthcacheP13nObjectFactory
- A utility class helping with dependency injection.
Code
public function __construct($resources = array(), $processors = array()) {
$this->resources = $resources;
$this->processors = $processors;
}