I am very happy with the new features in PHP 7. But I am confused on how to return an array of objects in PHP 7.

For example, we have a class `Item`, and we want to return an array of objects of this class from our function:

```
function getItems() : Item[] {
}

```

But it does not work this way.