Puppet Class: php::extension::json

Defined in:
manifests/extension/json.pp

Overview

Manage PHP json extension.

Examples:

Declaring the class

include ::php
include ::php::extension::json

Parameters:

  • extensions (Array[String, 1])
  • package_name (Optional[String]) (defaults to: undef)
  • settings (Hash[String, String]) (defaults to: {})

See Also:

Since:

  • 1.0.0



15
16
17
18
19
20
21
22
23
24
25
26
# File 'manifests/extension/json.pp', line 15

class php::extension::json (
  Array[String, 1]     $extensions,
  Optional[String]     $package_name = undef,
  Hash[String, String] $settings     = {},
) {

  ::php::extension { 'json':
    extensions   => $extensions,
    package_name => $package_name,
    settings     => $settings,
  }
}