AutoPublishCommand extends Command

Call on the workspace logic to publish workspaces whose publication date is in the past.

Internal
Attributes
#[AsCommand]
'workspace:autopublish'
'Publish a workspace with a publication date.'

Table of Contents

Methods

__construct()  : mixed
configure()  : mixed
Configuring the command options
execute()  : int
Executes the command to find versioned records
getAffectedWorkspacesToPublish()  : Result
Fetch all sys_workspace records which could fit

Methods

configure()

Configuring the command options

public configure() : mixed

execute()

Executes the command to find versioned records

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

getAffectedWorkspacesToPublish()

Fetch all sys_workspace records which could fit

protected getAffectedWorkspacesToPublish() : Result
Return values
Result

        
On this page

Search results