protected function validateParameter($key, $value)
    {
        if ($this->isSafeValue($value)) {
            return true;
        }

        $this->enforceNonObjectValue($key, $value);
        $this->enforceMultidimensionalArrayOfScalars($key, $value);

        return true;
    }
protected function validateParameter($key, $value)
    {
        if ($this->isSafeValue($value)) {
            return true;
        }

        $this->enforceNonObjectValue($key, $value);
        $this->enforceMultidimensionalArrayOfScalars($key, $value);

        return true;
    }
protected function validateParameter ( $ key , $ value ) { if ( $ this -> isSafeValue ( $ value ) ) { return true ; } $ this -> enforceNonObjectValue ( $ key , $ value ) ; $ this -> enforceMultidimensionalArrayOfScalars ( $ key , $ value ) ; return true ; }
Check that the value to bind is a scalar, or an array multi-dimensional of scalars

@param string $key
@param mixed $value
@return boolean

@throws IllegalTypeException
Check that the value to bind is a scalar or an array multi - dimensional of scalars