*/ class TaskQueue extends \common_ext_action_InstallAction { /** * Install action */ public function __invoke($params = []) { $fsm = $this->getServiceManager()->get(FileSystemService::SERVICE_ID); $fsm->createFileSystem(Queue::FILE_SYSTEM_ID, Queue::FILE_SYSTEM_ID); $this->getServiceManager()->register(FileSystemService::SERVICE_ID, $fsm); return new \common_report_Report(\common_report_Report::TYPE_SUCCESS, 'Task queue storage registered.'); } }