Copied!

DataSourceInterface

DataSourceInterface.php : 14

Methods

publiccountItems()

DataSourceInterface.php : 21
public countItems(CriteriaInterface $criteria) : int

Parameters

Name Type Default value Description
$criteria CriteriaInterface - -

Return values

int

publicfetchItem()

DataSourceInterface.php : 23
public fetchItem(string $id, string $language) : ItemInterface

Parameters

Name Type Default value Description
$id string - -
$language string - -

Return values

ItemInterface

publicfetchItems()

DataSourceInterface.php : 19
public fetchItems(CriteriaInterface $criteria) : iterable<string|int, ItemInterface>

Parameters

Name Type Default value Description
$criteria CriteriaInterface - -

Return values

iterable<string|int, ItemInterface>