51Degrees Pipeline for PHP

fiftyone\pipeline\devicedetection\SwigHelpers Class Reference

Static Public Member Functions

static vectorToArray ($vector)
 Helper to convert a swig vector into a standard JavaScript array.
static arrayToVector ($array)
 Helper to convert a PHP array to a swig vector.

Member Function Documentation

◆ arrayToVector()

fiftyone\pipeline\devicedetection\SwigHelpers::arrayToVector ( $array)
static

Helper to convert a PHP array to a swig vector.

Parameters
array$array
Returns
\VectorStringSwig

◆ vectorToArray()

fiftyone\pipeline\devicedetection\SwigHelpers::vectorToArray ( $vector)
static

Helper to convert a swig vector into a standard JavaScript array.

Parameters
object$vector