Static Public Member Functions | |
| static | vectorToArray ($vector) |
| Helper to convert a SWIG vector into a standard PHP array. | |
| static | arrayToVector ($array) |
| Helper to convert a PHP array of strings to a SWIG VectorStringSwig. | |
Member Function Documentation
◆ arrayToVector()
|
static |
Helper to convert a PHP array of strings to a SWIG VectorStringSwig.
- Parameters
-
array<string> $array
- Returns
- \VectorStringSwig
◆ vectorToArray()
|
static |
Helper to convert a SWIG vector into a standard PHP array.
- Parameters
-
object $vector A SWIG wrapped std::vector with size() and get()
- Returns
- array<mixed>
