If no attributes are specified, only simple and Many2One attributes will be extracted.
If you need to get One2Many and Many2Many attributes, you need to explicitly specify a list of attributes.
public extractData ( array $attributes = [] ) : array | ||
$attributes | array | Ex: 'title,author.name,comments.id,comments.text' |
Résultat | array |