/** * Error handler * * @param array $error catched error * * @return void */ public static function handleError(array $error) { \Includes\Decorator\Utils\CacheManager::checkRebuildIndicatorState(); if (isset($error['type']) && E_ERROR == $error['type']) { static::logInfo($error['message'], $error['type']); static::showErrorPage(__CLASS__ . '::ERROR_FATAL_ERROR', $error['message']); } }