getConfig() public method

Get the application's config store.
public getConfig ( ) : Autarky\Config\ConfigInterface
return Autarky\Config\ConfigInterface
Example #1
0
 /**
  * @param HttpKernelInterface $kernel
  * @param Application         $app
  */
 public function __construct(HttpKernelInterface $kernel, Application $app)
 {
     $this->kernel = $kernel;
     $this->session = $app->getContainer()->resolve('Symfony\\Component\\HttpFoundation\\Session\\SessionInterface');
     $this->forceStart = $app->getConfig()->get('session.force', false);
     $this->cookies = $app->getConfig()->get('session.cookies', []);
 }