Redaxscript\Parser::getOutput PHP Method

getOutput() public method

get the output
Since: 2.0.0
public getOutput ( ) : string
return string
    public function getOutput()
    {
        return $this->_output;
    }

Usage Example

Beispiel #1
0
 /**
  * testParser
  *
  * @since 2.1.0
  *
  * @param array $registry
  * @param string $input
  * @param string $route
  * @param string $expect
  *
  * @dataProvider providerParser
  */
 public function testParser($registry = array(), $input = null, $route = null, $expect = null)
 {
     /* setup */
     $this->_registry->init($registry);
     $parser = new Parser($this->_registry, $this->_language);
     $parser->init($input, $route, array('className' => array('break' => 'link-read-more', 'code' => 'box-code')));
     /* actual */
     $actual = $parser->getOutput();
     /* compare */
     $this->assertEquals($expect, $actual);
 }
All Usage Examples Of Redaxscript\Parser::getOutput