OneLogin_Saml2_Settings::setStrict PHP Method

setStrict() public method

Activates or deactivates the strict mode.
public setStrict ( boolean $value )
$value boolean Strict parameter
    public function setStrict($value)
    {
        if (!is_bool($value)) {
            throw new Exception('Invalid value passed to setStrict()');
        }
        $this->_strict = $value;
    }

Usage Example

Esempio n. 1
0
 /**
  * Set the strict mode active/disable
  *
  * @param bool $value Strict parameter
  *
  * @return array The settings data.
  */
 public function setStrict($value)
 {
     if (!is_bool($value)) {
         throw new Exception('Invalid value passed to setStrict()');
     }
     $this->_settings->setStrict($value);
 }
All Usage Examples Of OneLogin_Saml2_Settings::setStrict