src/Reservation/RequireReservation.php
public function getElement(Parser $parser, ElementInterface $parent = null)
    {
        $parser->getReader()->open($this->src);
        $parsed = $parser->getReader()->parse();

        return $parser->parseElements($parsed['value'], $parent);
    }
public function getElement(Parser $parser, ElementInterface $parent = null)
    {
        $parser->getReader()->open($this->src);
        $parsed = $parser->getReader()->parse();

        return $parser->parseElements($parsed['value'], $parent);
    }
public function getElement ( Parser $ parser , ElementInterface $ parent = null ) { $ parser -> getReader ( ) -> open ( $ this -> src ) ; $ parsed = $ parser -> getReader ( ) -> parse ( ) ; return $ parser -> parseElements ( $ parsed [ 'value' ] , $ parent ) ; }
Get an instance of ElementInterface for this reservation

@param  Parser $parser
@param  ElementInterface $parent
@return array
Get an instance of ElementInterface for this reservation