protected function updateRules()
    {
        foreach ($this->rules() as $Rule) {
            $this->authManager->add($Rule);

            echo sprintf('    > rule `%s` added.', $Rule->name) . PHP_EOL;
        }
    }
protected function updateRules()
    {
        foreach ($this->rules() as $Rule) {
            $this->authManager->add($Rule);

            echo sprintf('    > rule `%s` added.', $Rule->name) . PHP_EOL;
        }
    }
protected function updateRules ( ) { foreach ( $ this -> rules ( ) as $ Rule ) { $ this -> authManager -> add ( $ Rule ) ; echo sprintf ( '    > rule `%s` added.' , $ Rule -> name ) . PHP_EOL ; } }
Update rules method
Update rules method