private function getWriter()
    {
        return $this->app->make(
            PageActivityExporter::class, [
                'writer' => $this->app->make(WriterFactory::class)
                    ->createFromPath('php://output', 'w'),
            ]
        );
    }