Set the configuration for the role provider
public setRoleProvider ( array $roleProvider ) | ||
$roleProvider | array |
public function testThrowExceptionIfMoreThanOneRoleProviderIsSet() { $this->setExpectedException('ZfcRbac\\Exception\\RuntimeException'); $moduleOptions = new ModuleOptions(); $moduleOptions->setRoleProvider(['foo', 'bar']); }