private function getParsedData()
    {
        if (is_array($this->parsedData)) {
            return $this->parsedData;
        }

        $this->parsedData = [
            'routes' => []
        ];

        $content = $this->getYmlFileContent();
        try {
            $parsedData = $this->parser->parse($content);
            $this->addGeneralDefaults($parsedData);
            $this->addDataRoutes($parsedData);
        } catch (ParseException $caught) {
            throw new RoutesFileParserException(
                $caught->getMessage(),
                0,
                $caught
            );
        }
        return $this->parsedData;
    }
private function getParsedData()
    {
        if (is_array($this->parsedData)) {
            return $this->parsedData;
        }

        $this->parsedData = [
            'routes' => []
        ];

        $content = $this->getYmlFileContent();
        try {
            $parsedData = $this->parser->parse($content);
            $this->addGeneralDefaults($parsedData);
            $this->addDataRoutes($parsedData);
        } catch (ParseException $caught) {
            throw new RoutesFileParserException(
                $caught->getMessage(),
                0,
                $caught
            );
        }
        return $this->parsedData;
    }
private function getParsedData ( ) { if ( is_array ( $ this -> parsedData ) ) { return $ this -> parsedData ; } $ this -> parsedData = [ 'routes' => [ ] ] ; $ content = $ this -> getYmlFileContent ( ) ; try { $ parsedData = $ this -> parser -> parse ( $ content ) ; $ this -> addGeneralDefaults ( $ parsedData ) ; $ this -> addDataRoutes ( $ parsedData ) ; } catch ( ParseException $ caught ) { throw new RoutesFileParserException ( $ caught -> getMessage ( ) , 0 , $ caught ) ; } return $ this -> parsedData ; }
Get YML parsed data array

@return array
Get YML parsed data array