# Puppet Class: php::global

Inherits:
  ::php

Defined in:
  manifests/global.pp

## Overview

Parameters:

- inifile (`Stdlib::Absolutepath`) (defaults to: `$::php::config_root_inifile`)
- settings (`Hash`) (defaults to: `{}`)

    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    # File 'manifests/global.pp', line 14

    class php::global(
      Stdlib::Absolutepath $inifile = $::php::config_root_inifile,
      Hash $settings                = {}
    ) inherits ::php {

      if $caller_module_name != $module_name {
        warning('php::global is private')
      }

      # No deep merging required since the settings we have are the global settings.
      $real_settings = $settings

      ::php::config { 'global':
        file   => $inifile,
        config => $real_settings,
      }
    }