TwistPHP Documentation

splitBoundaries

File path: dist/twist/Core/Models/Email/SourceParser.model.php
Namespace: Twist\Core\Models\Email
Extends:

splitBoundariesSplit the email source into a multi-dimensional array by boundary ID

Parameters

Name Type Description
$strDatastringn/a
[$strBoundary = '']stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strData 'foo';
$strBoundary '';

//Call the function splitBoundaries with the example vars
$resSourceParser = new \Twist\Core\Models\Email\SourceParser();
$resSourceParser -> splitBoundaries($strData$strBoundary);