public function ScheduledPublishCommands::__construct in Scheduled Publish 8.2
Same name and namespace in other branches
- 8.3 src/Commands/ScheduledPublishCommands.php \Drupal\scheduled_publish\Commands\ScheduledPublishCommands::__construct()
ScheduledPublishCommands constructor.
Parameters
\Drupal\scheduled_publish\Service\ScheduledPublishCron $publishCron:
File
- src/
Commands/ ScheduledPublishCommands.php, line 25
Class
- ScheduledPublishCommands
- Class ScheduledPublishCommands
Namespace
Drupal\scheduled_publish\CommandsCode
public function __construct(ScheduledPublishCron $publishCron) {
parent::__construct();
$this->publishCron = $publishCron;
}