protected function parseMap() {
        $this->finalMap = array();
        foreach ($this->map as $controller => $actions) {
            $this->finalMap[$controller] = isset($this->finalMap[$controller]) ? $this->finalMap[$controller] : array();
            foreach ($actions as $action => $rights) {
                $this->parseMapRow($controller, $action, $rights);
            }
        }
    }
protected function parseMap() {
        $this->finalMap = array();
        foreach ($this->map as $controller => $actions) {
            $this->finalMap[$controller] = isset($this->finalMap[$controller]) ? $this->finalMap[$controller] : array();
            foreach ($actions as $action => $rights) {
                $this->parseMapRow($controller, $action, $rights);
            }
        }
    }
protected function parseMap ( ) { $ this -> finalMap = array ( ) ; foreach ( $ this -> map as $ controller => $ actions ) { $ this -> finalMap [ $ controller ] = isset ( $ this -> finalMap [ $ controller ] ) ? $ this -> finalMap [ $ controller ] : array ( ) ; foreach ( $ actions as $ action => $ rights ) { $ this -> parseMapRow ( $ controller , $ action , $ rights ) ; } } }
Parse raw map to create  a script readable one.
Parse raw map to create a script readable one .