Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/rocksensor3/web/core/lib/Drupal/Core/Extension/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/rocksensor3/web/core/lib/Drupal/Core/Extension/InfoParser.php

<?php

namespace Drupal\Core\Extension;

use Drupal\Component\FileCache\FileCache;
use Drupal\Component\FileCache\FileCacheFactory;
use Drupal\Component\FileCache\FileCacheInterface;

/**
 * Parses extension .info.yml files.
 */
class InfoParser extends InfoParserDynamic {

  /**
   * The file cache.
   *
   * @var \Drupal\Component\FileCache\FileCacheInterface
   */
  protected FileCacheInterface $fileCache;

  /**
   * InfoParser constructor.
   *
   * @param string|null $app_root
   *   The root directory of the Drupal installation.
   */
  public function __construct(?string $app_root = NULL) {
    parent::__construct($app_root);
    if (FileCacheFactory::getPrefix() !== NULL) {
      $this->fileCache = FileCacheFactory::get('info_parser');
    }
    else {
      // Just use a static file cache when there is no prefix. This code path is
      // triggered when info is parsed prior to \Drupal\Core\DrupalKernel::boot()
      // running. This occurs during the very early installer and in some test
      // scenarios.
      $this->fileCache = new FileCache('info_parser', 'info_parser');
    }
  }

  /**
   * {@inheritdoc}
   */
  public function parse($filename) {
    $data = $this->fileCache->get($filename);
    if ($data === NULL) {
      $data = parent::parse($filename);
      $this->fileCache->set($filename, $data);
    }
    return $data;
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net