public function SegmenterInterface::getSegmentsOfData

Returns the segments in the data.

Parameters

string $serialized_data: A string with the XML serialized data.

Return value

array An array with the the segments. Example: [ [ 'hash' => 'e1a937a716311fd11c2079b6209d513a4048cef9fb5a0425c2be77ee3b1fa743', 'id' => 'ID 1', 'data' => 'Segment 1', ], [ 'hash' => 'c8e90d4ed846ff50bdf5603b1f683e71a56c923ea65306a2f2f95300d16d79e9', 'id' => 'ID 2', 'data' => 'Segment 2', ], ]

1 method overrides SegmenterInterface::getSegmentsOfData()
NullSegmenter::getSegmentsOfData in src/NullSegmenter.php
Returns the segments in the data.

File

src/SegmenterInterface.php, line 49

Class

SegmenterInterface
This interface offers a suite of methods to add segments and filter data.

Namespace

Drupal\tmgmt

Code

public function getSegmentsOfData($serialized_data);