getAnonymousAccess() public method

If anonymous access is not defined in the config, by default it will be set to false.
public getAnonymousAccess ( ) : boolean
return boolean Is anonymous access allowed or not.
Example #1
0
 /**
  * @param Firewall $firewall
  *
  * @dataProvider firewallProvider
  */
 public function testGetAnonymousAccess($firewall)
 {
     $this->assertTrue($firewall->getAnonymousAccess());
 }