final class WorkspacePublishCommand extends Command (View source)

Traits

A copy of \Drupal\Core\DependencyInjection\AutowireTrait with first params' type hint changed.

Constants

NAME

Properties

protected WorkspaceOperationFactory|null $workspacesOperationFactory

Methods

static AutowireTrait
create(ContainerInterface $container)

Instantiates a new instance of the implementing class using autowiring.

__construct(EntityTypeManagerInterface $entityTypeManager, ContainerInterface $container)

Constructs a WorkspacesCommands object.

void
configure()

No description

int
execute(InputInterface $input, OutputInterface $output)

No description

Details

static AutowireTrait create(ContainerInterface $container)

Instantiates a new instance of the implementing class using autowiring.

Parameters

ContainerInterface $container

The service container this instance should use.

Return Value

AutowireTrait

__construct(EntityTypeManagerInterface $entityTypeManager, ContainerInterface $container)

Constructs a WorkspacesCommands object.

Parameters

EntityTypeManagerInterface $entityTypeManager
ContainerInterface $container

protected void configure()

No description

Return Value

void

protected int execute(InputInterface $input, OutputInterface $output)

No description

Parameters

InputInterface $input
OutputInterface $output

Return Value

int