protected function createOutputInterface() { return new StreamOutput(fopen('php://memory', 'r+', false)); }