CoreFiles by mySites.guru
UndefinedFunctionError.php29 lines, 820 bytes, from Joomla_5.2.0-beta1-Beta-Full_Package.zip
Raw History Compare with 5.1.0-beta2
md5
227e94ae38172b095e462e3f00cf537f
sha1
92071e34a083110b9a0d724a118b28a6b20fcda5
sha256
bb9f6a529ca2024fb4af6c027b003b5ac05424998a1133c77aa71c60a55ff7fd
<?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 UndefinedFunctionError 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.