1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-21 22:47:43 +00:00
Files
matomo/core/CliMulti/ProcessSymfony.php
Marc Neudert 1733ef78ca Extend CliMulti to support using symfony/process (#22513)
* Install symfony/process

* Define feature flag

* Detect support of CliMulti to use Symfony Process

* Use Symfony Process if available

* Handle Matomo upgrades across many versions more gracefully

* Log process method used in CliMulti

* Add proper wrapper around Symfony/Process dependency

* Update plugins/VisitorGenerator submodule
2024-09-02 17:30:45 +02:00

34 خطوط
559 B
PHP

<?php
/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
namespace Piwik\CliMulti;
use Piwik\Process;
/**
* Wrapper for Symfony Process class
*/
class ProcessSymfony extends Process
{
/**
* @var string|null
*/
private $commandId;
public function getCommandId(): ?string
{
return $this->commandId;
}
public function setCommandId(string $commandId): void
{
$this->commandId = $commandId;
}
}