k911/swoole-bundle

View on GitHub
src/Bridge/Symfony/Bundle/Exception/PidFileNotAccessibleException.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

declare(strict_types=1);

namespace K911\Swoole\Bridge\Symfony\Bundle\Exception;

/**
 * @internal
 */
final class PidFileNotAccessibleException extends \RuntimeException
{
    public static function forFile(string $pidFile): self
    {
        throw new self(\sprintf('Could not access pid file "%s".', $pidFile));
    }
}