CoreFiles by mySites.guru
ClassNotFoundError.php29 lines, 816 bytes, from Joomla_6.1.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 6.1.0-alpha2
md5
72ff18fbeb70a589112e781d30913d8f
sha1
5f2ede10e1f23bc403fe9de60bb8e398e7e65342
sha256
1f30962a1e019d8ea80c1df62ca069ae38f1cbee4b50a49ea08269b60836d978
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\ErrorHandler\Error;

class ClassNotFoundError extends \Error
{
    public function __construct(string $message, \Throwable $previous)
    {
        parent::__construct($message, $previous->getCode(), $previous->getPrevious());

        foreach ([
            'file' => $previous->getFile(),
            'line' => $previous->getLine(),
            'trace' => $previous->getTrace(),
        ] as $property => $value) {
            $refl = new \ReflectionProperty(\Error::class, $property);
            $refl->setValue($this, $value);
        }
    }
}

The same content is in 155 releases, Joomla 5.0.0-alpha1 to 6.2.1-rc1. See them all, or every version of this file.