getConfig() public method

Get config for current firewall.
public getConfig ( ) : ConfigObject
return Webiny\Component\Config\ConfigObject
Example #1
0
 /**
  * @param Firewall $firewall
  *
  * @dataProvider firewallProvider
  */
 public function testGetConfig($firewall)
 {
     $config = $firewall->getConfig();
     $this->assertInstanceOf('\\Webiny\\Component\\Config\\ConfigObject', $config);
     $this->assertSame('MockEncoder', $config->get('Encoder'));
 }