class ContextFactory (View source)

Properties

protected MercureService $mercureService
protected LoggerFactoryInterface $loggerFactory
protected Application $app

Methods

__construct(LoggerFactoryInterface $loggerFactory, MercureService $mercureService, Application $app)

No description

PushOutput|null
getPushOutput(TaskRunnerInterface $runner)

No description

createConsoleOutput(TaskRunnerInterface $runner, OutputInterface $output)

No description

createConsoleContext(TaskRunnerInterface $runner, OutputInterface $output)

No description

Details

__construct(LoggerFactoryInterface $loggerFactory, MercureService $mercureService, Application $app)

No description

Parameters

LoggerFactoryInterface $loggerFactory
MercureService $mercureService
Application $app

protected PushOutput|null getPushOutput(TaskRunnerInterface $runner)

No description

Parameters

TaskRunnerInterface $runner

Return Value

PushOutput|null

protected createConsoleOutput(TaskRunnerInterface $runner, OutputInterface $output)

No description

Parameters

TaskRunnerInterface $runner
OutputInterface $output

protected OutputInterface createDashboardOutput(TaskRunnerInterface $runner)

No description

Parameters

TaskRunnerInterface $runner

Return Value

OutputInterface

ContextInterface createDashboardContext(TaskRunnerInterface $runner)

No description

Parameters

TaskRunnerInterface $runner

Return Value

ContextInterface

ContextInterface createConsoleContext(TaskRunnerInterface $runner, OutputInterface $output)

No description

Parameters

TaskRunnerInterface $runner
OutputInterface $output

Return Value

ContextInterface