You are here

public static function AuthcacheP13nObjectFactory::defaultProcessors in Authenticated User Page Caching (Authcache) 7.2

Return the default set of processors suitable.

5 calls to AuthcacheP13nObjectFactory::defaultProcessors()
AuthcacheP13nTestObjectFactoryCase::testFactoryCollectionGet in modules/authcache_p13n/tests/authcache_p13n.object-factory.test
Covers $factory->get().
AuthcacheP13nTestObjectFactoryCase::testRequireAcceptClassProcessors in modules/authcache_p13n/tests/authcache_p13n.object-factory.test
Cover AuthcacheP13nObjectFactory::defaultProcessors().
AuthcacheP13nTestObjectFactoryCase::testRequireDefaultProcessors in modules/authcache_p13n/tests/authcache_p13n.object-factory.test
Cover AuthcacheP13nObjectFactory::defaultProcessors().
AuthcacheP13nTestObjectFactoryCase::testRequireRequireClassProcessors in modules/authcache_p13n/tests/authcache_p13n.object-factory.test
Cover AuthcacheP13nObjectFactory::defaultProcessors().
authcache_p13n_authcache_p13n_resource_processors in modules/authcache_p13n/authcache_p13n.module
Implements hook_authcache_p13n_resource_processors().

File

modules/authcache_p13n/includes/AuthcacheP13nObjectFactory.inc, line 303
Defines the class AuthcacheP13nObjectFactory.

Class

AuthcacheP13nObjectFactory
A utility class helping with dependency injection.

Code

public static function defaultProcessors() {
  return array(
    'required' => array(
      __CLASS__,
      'ensureIsSet',
    ),
    'accept_instance' => array(
      __CLASS__,
      'acceptClass',
    ),
    'require_instance' => array(
      __CLASS__,
      'ensureClass',
    ),
  );
}