rector/vendor/fidry/cpu-core-counter/src/NumberOfCpuCoreNotFound.php
2022-12-16 14:30:13 +00:00

22 lines
548 B
PHP

<?php
/*
* This file is part of the Fidry CPUCounter Config package.
*
* (c) Théo FIDRY <theo.fidry@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare (strict_types=1);
namespace RectorPrefix202212\Fidry\CpuCoreCounter;
use RuntimeException;
final class NumberOfCpuCoreNotFound extends RuntimeException
{
public static function create() : self
{
return new self('Could not find the number of CPU cores available.');
}
}