eZ\Publish\Core\REST\Common\Tests\Output\ValueObjectVisitorBaseTest::getGenerator PHP Method

getGenerator() protected method

Gets the output generator.
protected getGenerator ( ) : Xml
return eZ\Publish\Core\REST\Common\Output\Generator\Xml
    protected function getGenerator()
    {
        if (!isset($this->generator)) {
            $this->generator = new Generator\Xml(new Generator\Xml\FieldTypeHashGenerator());
        }
        return $this->generator;
    }