[SOLVED] Get properties from FlowQuery Array

Hey guys,

how I can get properties from a FlowQuery Array in PHP?
I have tried this, but it does not work.

$items = (new FlowQuery(array($node)))->children('[instanceof My.Site:Store]')->context(array('workspaceName' => 'live'))->get();
$item = $items[0]['label'];

In Fluid I get the label with e.g. {item.label}

Thx, pat

Does

$item =$items[0]->getProperty('label');

work?

This works:

$item =$items[0]->getProperty('title');

Thank you!