قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-21 22:47:43 +00:00

* 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
34 خطوط
559 B
PHP
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;
|
|
}
|
|
}
|