OneLogin_Saml2_Settings::setStrict PHP 메소드

setStrict() 공개 메소드

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

예제 #1
0
파일: Auth.php 프로젝트: onelogin/php-saml
 /**
  * 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