Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CodeExporter.php

function CodeExporter::iniSettings

File

vendor/sebastian/global-state/src/CodeExporter.php, line 63

Class

CodeExporter

Namespace

SebastianBergmann\GlobalState

Code

public function iniSettings(Snapshot $snapshot) : string {
    $result = '';
    foreach ($snapshot->iniSettings() as $key => $value) {
        $result .= sprintf('@ini_set(%s, %s);' . "\n", $this->exportVariable($key), $this->exportVariable($value));
    }
    return $result;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal