Your IP : 216.73.216.220


Current Path : /var/www/html/vendor/phpunit/phpunit/src/Framework/Exception/
Upload File :
Current File : /var/www/html/vendor/phpunit/phpunit/src/Framework/Exception/ClassNotFoundException.php

<?php declare(strict_types=1);
/*
 * This file is part of PHPUnit.
 *
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace PHPUnit\Framework;

/**
 * @internal This class is not covered by the backward compatibility promise for PHPUnit
 */
class ClassNotFoundException extends Exception
{
    public static function byFilename(string $className, string $filename): self
    {
        return new self(
            \sprintf(
                "Class '%s' could not be found in '%s'.",
                $className,
                $filename
            )
        );
    }
}