public function addPhpConfigRequirement($cfgName, $evaluation, $approveCfgAbsence = false, $testMessage = null, $helpHtml = null, $helpText = null)
    {
        $this->add(new PhpConfigRequirement($cfgName, $evaluation, $approveCfgAbsence, $testMessage, $helpHtml, $helpText, false));
    }
public function addPhpConfigRequirement($cfgName, $evaluation, $approveCfgAbsence = false, $testMessage = null, $helpHtml = null, $helpText = null)
    {
        $this->add(new PhpConfigRequirement($cfgName, $evaluation, $approveCfgAbsence, $testMessage, $helpHtml, $helpText, false));
    }
public function addPhpConfigRequirement ( $ cfgName , $ evaluation , $ approveCfgAbsence = false , $ testMessage = null , $ helpHtml = null , $ helpText = null ) { $ this -> add ( new PhpConfigRequirement ( $ cfgName , $ evaluation , $ approveCfgAbsence , $ testMessage , $ helpHtml , $ helpText , false ) ) ; }
Adds a mandatory requirement in form of a PHP configuration option.

@param string        $cfgName           The configuration name used for ini_get()
@param bool|callback $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
@param bool          $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
Example: You require a config to be true but PHP later removes this config and defaults it to true internally.
@param string        $testMessage       The message for testing the requirement (when null and $evaluation is a boolean a default message is derived)
@param string        $helpHtml          The help text formatted in HTML for resolving the problem (when null and $evaluation is a boolean a default help is derived)
@param string|null   $helpText          The help text (when null, it will be inferred from $helpHtml, i.e. stripped from HTML tags)
Adds a mandatory requirement in form of a PHP configuration option .