public function getMap()
    {
        if (isset($this->raw->map)) {
            $map = array();

            foreach ((array) $this->raw->map as $item) {
                $processed = array();

                foreach ($item as $match => $replace) {
                    $processed[Path::canonical($match)] = Path::canonical($replace);
                }

                if (isset($processed['_empty_'])) {
                    $processed[''] = $processed['_empty_'];

                    unset($processed['_empty_']);
                }

                $map[] = $processed;
            }

            return $map;
        }

        return array();
    }
public function getMap()
    {
        if (isset($this->raw->map)) {
            $map = array();

            foreach ((array) $this->raw->map as $item) {
                $processed = array();

                foreach ($item as $match => $replace) {
                    $processed[Path::canonical($match)] = Path::canonical($replace);
                }

                if (isset($processed['_empty_'])) {
                    $processed[''] = $processed['_empty_'];

                    unset($processed['_empty_']);
                }

                $map[] = $processed;
            }

            return $map;
        }

        return array();
    }
public function getMap ( ) { if ( isset ( $ this -> raw -> map ) ) { $ map = array ( ) ; foreach ( ( array ) $ this -> raw -> map as $ item ) { $ processed = array ( ) ; foreach ( $ item as $ match => $ replace ) { $ processed [ Path :: canonical ( $ match ) ] = Path :: canonical ( $ replace ) ; } if ( isset ( $ processed [ '_empty_' ] ) ) { $ processed [ '' ] = $ processed [ '_empty_' ] ; unset ( $ processed [ '_empty_' ] ) ; } $ map [ ] = $ processed ; } return $ map ; } return array ( ) ; }
Returns the internal file path mapping.

@return array The mapping.
Returns the internal file path mapping .