MediaWiki REL1_39
MediaWiki\Settings\Config\PhpIniSink Class Reference

Settings sink for values to pass to ini_set. More...

Inheritance diagram for MediaWiki\Settings\Config\PhpIniSink:

Public Member Functions

 set (string $option, string $value)
 Sets a php runtime configuration value using ini_set().
 

Detailed Description

Settings sink for values to pass to ini_set.

Since
1.39

Definition at line 12 of file PhpIniSink.php.

Member Function Documentation

◆ set()

MediaWiki\Settings\Config\PhpIniSink::set ( string $option,
string $value )

Sets a php runtime configuration value using ini_set().

A PHP notice is triggered if setting the value fails.

Parameters
string$option
string$value
Returns
void

Reimplemented in MediaWiki\Settings\Config\NullIniSink.

Definition at line 23 of file PhpIniSink.php.


The documentation for this class was generated from the following file: