Piwik\Plugins\Marketplace\Environment::__construct PHP Method

__construct() public method

public __construct ( ReleaseChannels $releaseChannels )
$releaseChannels Piwik\Plugin\ReleaseChannels
    public function __construct(ReleaseChannels $releaseChannels)
    {
        $this->releaseChannel = $releaseChannels->getActiveReleaseChannel();
    }