Add a items() method that returns the Data::items array

This commit is contained in:
Flavio Copes
2015-10-27 18:18:08 +01:00
parent df9b219a16
commit fafd72fcd8

View File

@@ -224,6 +224,16 @@ class Data implements DataInterface
return $this->file()->raw();
}
/**
* Return the data items.
*
* @return array
*/
public function items()
{
return $this->items;
}
/**
* Set or get the data storage.
*