Get config for current firewall.
public getConfig ( ) : |
||
return |
/** * @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')); }