src/Router/RouteBuilder.php
public function getData()
    {
        if (is_null($this->data)) {
            try {
                $this->data = $this->getParser()->parse($this->getYmlData());
            } catch (ParseException $exp) {
                throw new RoutesFileParseException(
                    "Fail to parse routes file: ".
                    $exp->getMessage(),
                    0,
                    $exp
                );
            }
        }
        return $this->data;
    }
public function getData()
    {
        if (is_null($this->data)) {
            try {
                $this->data = $this->getParser()->parse($this->getYmlData());
            } catch (ParseException $exp) {
                throw new RoutesFileParseException(
                    "Fail to parse routes file: ".
                    $exp->getMessage(),
                    0,
                    $exp
                );
            }
        }
        return $this->data;
    }
public function getData ( ) { if ( is_null ( $ this -> data ) ) { try { $ this -> data = $ this -> getParser ( ) -> parse ( $ this -> getYmlData ( ) ) ; } catch ( ParseException $ exp ) { throw new RoutesFileParseException ( "Fail to parse routes file: " . $ exp -> getMessage ( ) , 0 , $ exp ) ; } } return $ this -> data ; }
Returns parsed data from YML

If no data is present the YML parser parses it and its values are
assigned to the data field.

@return mixed
Returns parsed data from YML