getConfigCache() public method

Returns the configuration cache.
public getConfigCache ( ) : sfConfigCache
return sfConfigCache A sfConfigCache instance
Exemplo n.º 1
0
 /**
  *
  * @param sfContext $context    The current application context.
  * @param string    $moduleName The module name.
  * @param string    $actionName The action name.
  */
 public function __construct($context, $moduleName, $actionName)
 {
     $this->context = $context;
     $this->actionName = $actionName;
     // include security configuration
     if ($file = $context->getConfigCache()->checkConfig('modules/' . $moduleName . '/config/oauth.yml', true)) {
         require $file;
     }
 }