private function createTable($rights) {

        $table = [];
        foreach ($rights as $flag => $right) {
            $table[$flag] = new RightGroup($flag);
        }
        foreach ($rights as $flag => $right) {
            $this->parseRightGroup($right, $flag, $table);
        }
        return $table;
    }
private function createTable($rights) {

        $table = [];
        foreach ($rights as $flag => $right) {
            $table[$flag] = new RightGroup($flag);
        }
        foreach ($rights as $flag => $right) {
            $this->parseRightGroup($right, $flag, $table);
        }
        return $table;
    }
private function createTable ( $ rights ) { $ table = [ ] ; foreach ( $ rights as $ flag => $ right ) { $ table [ $ flag ] = new RightGroup ( $ flag ) ; } foreach ( $ rights as $ flag => $ right ) { $ this -> parseRightGroup ( $ right , $ flag , $ table ) ; } return $ table ; }
Create the right table from the Config
Create the right table from the Config