for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PhpWinTools\WmiScripting\Models;
use PhpWinTools\WmiScripting\Cim\CimProcessor;
use PhpWinTools\WmiScripting\MappingStrings\ProcessorArchitecture;
/**
* @link https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-processor
*/
class Processor extends CimProcessor
{
protected $uuid = '{8502C4BB-5FBB-11D2-AAC1-006008C78BC7}';
protected $architecture;
protected $assetTag;
protected $characteristics;
protected $cpuStatus;
protected $currentVoltage;
protected $extClock;
protected $l2CacheSize;
protected $l2CacheSpeed;
protected $l3CacheSize;
protected $l3CacheSpeed;
protected $level;
protected $manufacturer;
protected $numberOfCores;
protected $numberOfEnabledCore;
protected $numberOfLogicalProcessors;
protected $partNumber;
protected $processorId;
protected $processorType;
protected $revision;
protected $secondLevelAddressTranslationExtensions;
protected $serialNumber;
protected $socketDesignation;
protected $threadCount;
protected $version;
protected $virtualizationFirmwareEnabled;
protected $vMMonitorModeExtensions;
protected $voltageCaps;
public function getArchitectureAttribute($value)
return $this->mapConstant(ProcessorArchitecture::class, $value);
}