loadInto()
loadInto(\Cake\Datasource\EntityInterface|array $entities, array $contain, \Cake\ORM\Table $source) : \Cake\Datasource\EntityInterface|array
Loads the specified associations in the passed entity or list of entities by executing extra queries in the database and merging the results in the appropriate properties.
The properties for the associations to be loaded will be overwritten on each entity.
Parameters
\Cake\Datasource\EntityInterface|array | $entities | a single entity or list of entities |
array | $contain | A |
\Cake\ORM\Table | $source | The table to use for fetching the top level entities |