public setSecureProtocol ( boolean $bIsSecured ) : boolean | ||
$bIsSecured | boolean | True use https / false use http |
return | boolean | true if we set value false otherwise |
public function setSecureProtocol($bIsSecured)
{
if (is_bool($bIsSecured)) {
$this->secure = $bIsSecured;
return true;
}
return false;
}