CoreFiles by mySites.guru
FatalErrorHandlerInterface.php32 lines, 959 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
129494cd2b2ad50cc3d6514da02dcce6
sha1
e7f6b3631e65ea06eabf9e76a477bd284b9a28b2
sha256
553712e50dbcd6b8eca0022a14f592aa659aabe3b43fb3947594602954b00d80
<?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\Debug\FatalErrorHandler;

use Symfony\Component\Debug\Exception\FatalErrorException;

/**
 * Attempts to convert fatal errors to exceptions.
 *
 * @author Fabien Potencier <[email protected]>
 */
interface FatalErrorHandlerInterface
{
    /**
     * Attempts to convert an error into an exception.
     *
     * @param array               $error     An array as returned by error_get_last()
     * @param FatalErrorException $exception A FatalErrorException instance
     *
     * @return FatalErrorException|null A FatalErrorException instance if the class is able to convert the error, null otherwise
     */
    public function handleError(array $error, FatalErrorException $exception);
}

The same content is in 10 releases, Joomla 4.0.0-alpha2 to 4.0.0-alpha12. See them all, or every version of this file.