/** * * @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; } }