class TreeCollectionTransformer extends TransformerAbstract (View source)

Methods

array
transformEntry(EntryInterface $entry)

Convert an entry to an array

array
transform(TreeCollection $collection)

Transform treecollections into lists of their entries

Details

private array transformEntry(EntryInterface $entry)

Convert an entry to an array

Parameters

EntryInterface $entry

Return Value

array

array transform(TreeCollection $collection)

Transform treecollections into lists of their entries

Parameters

TreeCollection $collection

Return Value

array