Returns all rules available in the system.
public getRules ( ) : |
||
리턴 | the rules indexed by the rule names |
public function testRemoveRule() { $this->prepareData(); $this->auth->remove($this->auth->getRule('isAuthor')); $rules = $this->auth->getRules(); $this->assertEmpty($rules); }