src/icepay_api_webservice.php
protected function forceArray($obj)
    {
        if (is_array($obj))
            return $obj;

        $arr = array();
        array_push($arr, $obj);
        return $arr;
    }
protected function forceArray($obj)
    {
        if (is_array($obj))
            return $obj;

        $arr = array();
        array_push($arr, $obj);
        return $arr;
    }
protected function forceArray ( $ obj ) { if ( is_array ( $ obj ) ) return $ obj ; $ arr = array ( ) ; array_push ( $ arr , $ obj ) ; return $ arr ; }
Force object into array

@since 2.1.0
@access protected
@param object $obj
@return array
Force object into array