/var/www/tutmee/data/www/tutmee.ru/wp-content/themes/tutmee-business/vendor/goaop/framework/src/Instrument/ClassLoading/AopComposerLoader.php
unset($loader);
foreach ($loaders as $loader) {
spl_autoload_register($loader);
}
return self::$wasInitialized;
}
/**
* Autoload a class by it's name
*
* @param string $class Name of the class to load
*/
public function loadClass($class)
{
$file = $this->findFile($class);
if ($file !== false) {
include $file;
}
}
/**
* Finds either the path to the file where the class is defined,
* or gets the appropriate php://filter stream for the given class.
*
* @param string $class
* @return string|false The path/resource if found, false otherwise.
*/
public function findFile($class)
{
static $isAllowedFilter = null, $isProduction = false;
if (!$isAllowedFilter) {
$isAllowedFilter = $this->fileEnumerator->getFilter();
$isProduction = !$this->options['debug'];
}
$file = $this->original->findFile($class);
/var/www/tutmee/data/www/tutmee.ru/wp-content/themes/tutmee-business/vendor/filp/whoops/src/Whoops/Run.php
/**
* Special case to deal with Fatal errors and the like.
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* In certain scenarios, like in shutdown handler, we can not throw exceptions
* @var bool
*/
private $canThrowExceptions = true;
/**
* Echo something to the browser
* @param string $output
* @return $this
*/
private function writeToOutputNow($output)
{
if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) {
$this->system->setHttpResponseCode(
$this->sendHttpCode()