public function setEncKeyLength($keyLength) {
        $keyLengthCast = (int) $keyLength;
        
        if (!($keyLengthCast > 0)) {
            throw new UserCredentialException('The encryption key length must be an integer', 2105);
        }
        
        $this->keyLength = $keyLengthCast;
    }
public function setEncKeyLength($keyLength) {
        $keyLengthCast = (int) $keyLength;
        
        if (!($keyLengthCast > 0)) {
            throw new UserCredentialException('The encryption key length must be an integer', 2105);
        }
        
        $this->keyLength = $keyLengthCast;
    }
public function setEncKeyLength ( $ keyLength ) { $ keyLengthCast = ( int ) $ keyLength ; if ( ! ( $ keyLengthCast > 0 ) ) { throw new UserCredentialException ( 'The encryption key length must be an integer' , 2105 ) ; } $ this -> keyLength = $ keyLengthCast ; }
Set the encryption key length

Cyril Ogana <cogana@gmail.com> - 2015-07-22

@param  int $keyLength - Length of the encryption key

@access public
Set the encryption key length